diff options
author | lloyd <[email protected]> | 2012-05-25 21:49:44 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-05-25 21:49:44 +0000 |
commit | 65cc04445f8d40497f02a14bd8cb97081790e54b (patch) | |
tree | 878a161148545cb590febb9026f02dad25769ea5 /src/cert/x509/x509_crl.h | |
parent | 29c337b2c7024d1b34aa3b578b5fc38b4d869fb0 (diff) |
Two more locking_allocator bugs. In allocate, we did not set
best_fit->first in cases where we had an almost exact match (exact fit
but with some alignment bytes at the start), meaning that not only
would we lose those bytes forever, but that we might later hand out a
range overlapping with what we handed to our current caller.
Also, in deallocate, lower_bound on the freelist might return end()
(for instance if the freelist is entirely empty). Avoid trying to
update the iterator in that case.
Diffstat (limited to 'src/cert/x509/x509_crl.h')
0 files changed, 0 insertions, 0 deletions