Opened on 02/26/13 at 13:11:45
Closed on 02/27/13 at 08:55:23
#2093 closed defect (fixed)
Node type not always defined in IMFS_mknod()
Reported by: | Andreas Heinig | Owned by: | Sebastian Huber |
---|---|---|---|
Priority: | normal | Milestone: | 4.11 |
Component: | fs | Version: | 4.11 |
Severity: | major | Keywords: | |
Cc: | sebastian.huber@… | Blocked By: | |
Blocking: |
Description
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 content.
Issue fixed with attached patch.
Attachments (2)
Change History (6)
Changed on 02/26/13 at 13:11:45 by Andreas Heinig
Attachment: | imfs_mknod.patch added |
---|
comment:1 Changed on 02/27/13 at 08:08:36 by Sebastian Huber
Resolution: | → wontfix |
---|---|
Status: | new → closed, sebastian.huber@embedded-brains.de |
Changed on 02/27/13 at 08:30:32 by Sebastian Huber
Attachment: | 0001-IMFS-PR2093-Fix-warning.patch added |
---|
Warning fix
comment:2 Changed on 02/27/13 at 08:30:32 by Sebastian Huber
attachments.isobsolete: | 0 → 1 |
---|---|
Owner: | changed from Chris Johns to Sebastian Huber |
Resolution: | wontfix |
Status: | closed → reopened |
comment:3 Changed on 02/27/13 at 08:55:23 by Sebastian Huber
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
comment:4 Changed on 11/24/14 at 18:58:28 by Gedare Bloom
Version: | HEAD → 4.11 |
---|
Replace Version=HEAD with Version=4.11 for the tickets with Milestone >= 4.11
Note: See
TracTickets for help on using
tickets.
Fixed usage of possibly undefined 'type'