The bug is present in Woody, glibc 2.2.5-11.2, and is fixed in Sid, glibc 2.3.1-16. I'm not sure which version was the first fixed version.