"Dan Kegel" dank@kegel.com writes:
Rather than hunt it down precisely, I applied the old "memset the struct to zero when allocating" meme, which in some circles is considered the "right" way to avoid this kind of problem. (I halfway expect Alexandre to say "don't be so lazy", but it's worth a try.)
Don't be so lazy.
;-)