[RTEMS Project] #3694: shm_open has logically unreachable code (Coverity ID: 1399706, 1399714)
RTEMS trac
trac at rtems.org
Thu Mar 14 16:08:10 UTC 2019
#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
More information about the bugs
mailing list