Automatic report from sources (radiusd) between 10.05.2006 - 11.05.2006 GMT
Alan DeKok
aland at nitros9.org
Thu May 11 18:57:33 CEST 2006
"Automatic cvs log generator" wrote:
> fix compiler warnings (and one typo)
> Modified files:
...
> File: radiusd/src/lib/rbtree.c; Revision: 1.20;
That wasn't a typo, and the "const" should really be there. The
trees are used in a multi-threaded environment, and the default
red-black tree code assumes that the sentinel is writable. It's not.
After I added the "const", I caught and fixed odd threading bugs,
where two threads would compete in their writes to the sentinel, which
would result in problems.
Alan DeKok.
More information about the Freeradius-Devel
mailing list