[Bug 1964] _Chain_Is_first/last overshoot

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Mon Nov 14 16:23:16 UTC 2011


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

--- Comment #7 from Gedare <gedare at rtems.org> 2011-11-14 10:23:16 CST ---
Created attachment 1378
  --> https://www.rtems.org/bugzilla/attachment.cgi?id=1378
check for null dereference in rtems chain api

I don't think passing head (tail) to is_first (is_last) is a legit use case for
the score, but possibly should be handled by the sapi layer for user apps.
Attached patch implements the check and also makes the call safe for chain
nodes that are not currently on a chain.

-- 
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