radareorg / sdb

Simple and fast string based key-value database with support for arrays and json
https://www.radare.org/
MIT License
217 stars 62 forks source link

Improve ht.c's handling of removed entries #103

Closed resilar closed 8 years ago

resilar commented 8 years ago

I'd guess this improvement is also welcomed to this repo. This was already merged to r2 in order to fix a segfault that occurred as a result of careless use of hashtable entries (without specifically checking for deleted entries that should be treated as empty in spite of entry->data != NULL). See https://github.com/radare/radare2/pull/5252 for full explanation.