CVSROOT: /cvs Module name: src Changes by: st...@cvs.openbsd.org 2009/04/23 17:18:35
Modified files: sbin/ping : ping.c Log message: ping -v can segfault when displaying received icmp packets that aren't echo replies. it's because the pointer arithmetic is scaled to the size of struct icmp, so 28*28 bytes are added rather than just 28. fortunately a correct value was calculated 2 lines earlier, so we can just use that. "thats a cool fix" dlg, ok deraadt