#3694: shm_open has logically unreachable code (Coverity ID: 1399706, 1399714)
---------------------------+-----------------------
Reporter: Joel Sherrill | Owner: Gedare
Type: defect | Status: assigned
Priority: normal | Milestone: 5.1
Component: fs | Version: 5
Severity: normal | Resolution:
Keywords: coverity | Blocked By:
Blocking: |
---------------------------+-----------------------
Comment (by Gedare):
the fix is something along the lines of
`(oflag & O_ACCMODE) == O_RDONLY`
to check for read-only
--
Ticket URL: <http://devel.rtems.org/ticket/3694#comment:2>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs