[Bug 2093] New: Node type not always defined in IMFS_mknod()

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Tue Feb 26 14:11:45 UTC 2013


             Bug #: 2093
           Summary: Node type not always defined in IMFS_mknod()
    Classification: Unclassified
           Product: RTEMS
           Version: HEAD
          Platform: All
        OS/Version: RTEMS
            Status: NEW
          Severity: major
          Priority: P3
         Component: filesystem
        AssignedTo: chrisj at rtems.org
        ReportedBy: andreas.heinig at cs.tu-dortmund.de

Created attachment 1501
  --> https://www.rtems.org/bugzilla/attachment.cgi?id=1501
Fixed usage of possibly undefined 'type'

In some (rare) cases get_type_and_info_by_mode_and_dev() does not define the
node type. It only calls IMFS_assert() if the type can't be determined.
However, IMFS_assert() is defined as nothing when not building RTEMS with
enabled DEBUG. This will maybe result in silent fails, depending on the stack

Issue fixed with attached patch.

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 bugs mailing list