[RTEMS Project] #4297: rtems-fdt.c: Resource leak error spotted by Coverity
RTEMS trac
trac at rtems.org
Fri Dec 17 16:21:29 UTC 2021
#4297: rtems-fdt.c: Resource leak error spotted by Coverity
-----------------------+--------------------------------------
Reporter: Ryan Long | Owner: Ryan Long <ryan.long@…>
Type: defect | Status: closed
Priority: normal | Milestone: Indefinite
Component: lib | Version: 6
Severity: normal | Resolution: fixed
Keywords: | Blocked By:
Blocking: |
-----------------------+--------------------------------------
Changes (by Ryan Long <ryan.long@…>):
* owner: (none) => Ryan Long <ryan.long@…>
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"98ab69323ea3799dbd1c418517c72526af699c5a/rtems"
98ab693/rtems]:
{{{
#!CommitTicketReference repository="rtems"
revision="98ab69323ea3799dbd1c418517c72526af699c5a"
libmisc/rtems-fdt: close() file 'bf'
close() file 'bf' to avoid leaking descriptor.
CID 1437645: Resource leak in rtems_fdt_load().
Closes #4297
}}}
--
Ticket URL: <http://devel.rtems.org/ticket/4297#comment:2>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list