Fixing a bug in a C hash table implementation
This blog post is about how I found a bug in a custom implementation of a hash table that is part of a important Linux tool called kmod. The bug is subtle and unfortunately symptomatic for coding in C.
There's a TL;DR at the end if you're not interested …
more ...