Project

General

Profile

Actions

Bug #15020

closed

HBA_LoadLibrary needs to close config file when done

Added by Yuri Pankov 2 months ago. Updated 2 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
lib - userland libraries
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
External Bug:

Description

SMHBAAPI's HBA_LoadLibrary forget to close the stream used to read configuration file and long running applications (at least, 32-bit ones) eventually run out of resources.

This was tested using the same daemon now running without issues and been in production for several years.

Actions #1

Updated by Electric Monk 2 months ago

  • Gerrit CR set to 2399
Actions #2

Updated by Yuri Pankov 2 months ago

  • Description updated (diff)
  • Status changed from In Progress to Pending RTI
  • % Done changed from 90 to 100
Actions #3

Updated by Electric Monk 2 months ago

  • Status changed from Pending RTI to Closed

git commit 17c4dadf772c2bfb28130f501dc6e1f46f8b1250

commit  17c4dadf772c2bfb28130f501dc6e1f46f8b1250
Author: Rick McNeal <rick.mcneal@nexenta.com>
Date:   2022-09-29T19:00:47.000Z

    15020 HBA_LoadLibrary needs to close config file when done
    Reviewed by: Sanjay Nadkarni <sanjay.nadkarni@nexenta.com>
    Reviewed by: Evan Layton <evan.layton@nexenta.com>
    Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
    Reviewed by: Jean McCormack <jean.mccormack@nexenta.com>
    Reviewed by: Rob Gittins <rob.gittins@nexenta.com>
    Reviewed by: Jason King <jason.brian.king+illumos@gmail.com>
    Reviewed by: Marco van Wieringen <mvw@planets.elm.net>
    Approved by: Patrick Mooney <pmooney@pfmooney.com>

Actions

Also available in: Atom PDF