Re: [PATCH] buffer overflow in sprintf for udp over ipv6

2007-08-20 Thread Thomas Anders
Chris Abbey wrote: > Simple counting bug, caught by glibc's overflow detection. We originally > stumbled over this in 5.3.0.1, where I tested this fix, but the forward port > to > svn head was trivial, so I've not retested there. INET^_ADDRSTRLEN is only > long > enough for the address itself,

[PATCH] buffer overflow in sprintf for udp over ipv6

2007-08-17 Thread Chris Abbey
Simple counting bug, caught by glibc's overflow detection. We originally stumbled over this in 5.3.0.1, where I tested this fix, but the forward port to svn head was trivial, so I've not retested there. INET^_ADDRSTRLEN is only long enough for the address itself, the rest of the string needs to