-
Notifications
You must be signed in to change notification settings - Fork 867
Open
Labels
bugSomething isn't workingSomething isn't workingdiscussionFlagged for discussion during the weekly team meetingFlagged for discussion during the weekly team meeting
Description
threadx/ports/cortex_m4/iar/src/tx_iar.c
Line 289 in 7ad78c4
if (i >= _MAX_LOCK) |
Should be comparing with _MAX_FLOCK, not _MAX_LOCK.
Result of bug:
When _MAX_FLOCK is greater than _MAX_LOCK, some file mutexes are incorrectly set to NULL, and the app will hard fault as soon as the file lock is encountered.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingdiscussionFlagged for discussion during the weekly team meetingFlagged for discussion during the weekly team meeting