Have bitstring use the xmalloc stuff instead of calloc and realloc.
It was found the realloc logic could result in Valgrind complaining of uninitialized data when doing a bit_fmt on the realloced bit structure. using xrealloc instead fixes the issue and makes things good, perhaps speeds things up as well.
Please register or sign in to comment