commit | fd3828e263bce5e97c4e1f31aebc380addb6a897 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sun Feb 22 15:17:24 2009 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sun Feb 22 15:17:24 2009 +0100 |
tree | b01ac03225d3cdc98e4a7a97e7c2566759620615 | |
parent | 59140a2c8200221f59a0a7acfaf825edb5cc5d69 [diff] |
[BUG] fix random memory corruption using "show sess" Commit 8a5c626e73bac905d150185e45110525588d7b4c introduced the sessions dump on the unix socket. This implementation is buggy because it may try to link to the sessions list's head after the last session is removed with a backref. Also, for the LIST_ISEMPTY test to succeed, we have to proceed with LIST_INIT after LIST_DEL.