The output of this program: #include <stdio.h> main() { char buf[10] = {}; int num; num = sscanf("012345", "%9[0-9]", buf); printf("num=%d, buf=\"%s\"\n", num, buf); } Should be: num=1, buf="012345" and indeed it is with glibc-2.1.2-11. Unfortunately, with glibc-2.1.90-11, the output is: num=1, buf="0" The attached patch fixes this problem.
Created attachment 261 [details] scanf patch
Lest you think this isn't a big deal, note that it prevents netstat from being able to print information about tcp or udp connections.
Again, bugzilla not updated, fixed on 05-22