[Bug 1964] _Chain_Is_first/last overshoot

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Mon Nov 14 15:54:40 UTC 2011


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

--- Comment #5 from Gedare <gedare at rtems.org> 2011-11-14 09:54:40 CST ---
(In reply to comment #4)
> (In reply to comment #3)
> > This bug may be present in older branches.
> 
> Yes and that's the only reason I want to commit this. I have test environments
> for multiple branches set up.
> 
> One question on patch.. 
> 
>  return (the_node->previous->previous == NULL);
> 
> Should "the_node->previous" be checked for NULL before it is dereferenced?
> 
> Ditto for the other case.

Not a problem if the node is 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