[Bug 1964] _Chain_Is_first/last overshoot
bugzilla-daemon at rtems.org
bugzilla-daemon at rtems.org
Mon Nov 14 16:03:06 UTC 2011
https://www.rtems.org/bugzilla/show_bug.cgi?id=1964
--- Comment #6 from Joel Sherrill <joel.sherrill at oarcorp.com> 2011-11-14 10:03:06 CST ---
(In reply to comment #5)
> (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.
But if you pass in a permanent head...
--
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