Author :
Nick Mathewson
Date :
2010-02-15 21:03:52
Hash :7116bf23 Message :Fix two unlocked reads in evbuffer.
Some initializers (in evbuffer_read and evbuffer_commit) were reading
the last and/or previous_to_last fields without grabbing the evbuffer
lock.
This may fix a hard-to-trigger race condition or two.