[RTEMS Project] #4280: gen_uuid.c: Unchecked return value from library errors spotted by Coverity
RTEMS trac
trac at rtems.org
Wed Mar 24 13:06:13 UTC 2021
#4280: gen_uuid.c: Unchecked return value from library errors spotted by Coverity
-----------------------+--------------------------------------
Reporter: Ryan Long | Owner: Ryan Long <ryan.long@…>
Type: defect | Status: reopened
Priority: normal | Milestone: 6.1
Component: lib | Version: 6
Severity: normal | Resolution:
Keywords: | Blocked By:
Blocking: |
-----------------------+--------------------------------------
Changes (by Joel Sherrill):
* status: closed => reopened
* resolution: fixed =>
Comment:
The fix was incorrect. It did not include the rtems assert.h header.
Assuming the paths were testable, it would be checking return values on
fcntl() commands that RTEMS does not support.
A more likely approach is to ifndef rtems the unsupported fcntl's and see
how that goes.
It is unclear if there was communication with the upstream project which
would have been needed.
--
Ticket URL: <http://devel.rtems.org/ticket/4280#comment:3>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list