reverbrain / eblob

Eblob is an append-only low-level IO library, which saves data in blob files. Created as low-level backend for elliptics
GNU Lesser General Public License v3.0
104 stars 29 forks source link

Fix potential bug #169

Closed shaitan closed 8 years ago

shaitan commented 8 years ago

Copy bctl's name to avoid using deleted memory at serialization point.

bioothod commented 8 years ago

I merge this pull request, it makes things a bit clearer, but there is no bug in that place, since bctl lives forever and its name is always present in memory and is never freed or its pointer changed.