[Bug 1692] New: rtems_libio_is_valid_perms is broken

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Fri Aug 27 12:18:23 CDT 2010


https://www.rtems.org/bugzilla/show_bug.cgi?id=1692

           Summary: rtems_libio_is_valid_perms is broken
           Product: RTEMS
           Version: HEAD
          Platform: All
        OS/Version: RTEMS
            Status: NEW
          Severity: normal
          Priority: P3
         Component: filesystem
        AssignedTo: chrisj at rtems.org
        ReportedBy: joel.sherrill at oarcorp.com


Coverity pointed out that the implementation evaluated to a constant.  This
impacted the implementation of this method.  In discussing the fix, it was
pointed out that when checking the result of this test, we should return EPERM
not EIO.

This was pointed out by at least the following CIDs.

http://scan2.coverity.com:9104/cov.cgi?cid=54
http://scan2.coverity.com:9104/cov.cgi?cid=55
http://scan2.coverity.com:9104/cov.cgi?cid=56

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the rtems-bugs mailing list