summaryrefslogtreecommitdiff
path: root/libnet/src/libnet_write.c
diff options
context:
space:
mode:
authorSam Roberts <vieuxtech@gmail.com>2009-03-06 12:29:41 -0800
committerSam Roberts <vieuxtech@gmail.com>2009-03-06 12:29:41 -0800
commit14f67cc09cf7c98a871a5e07d699a0d57b2d7747 (patch)
treecfc561ee29dc84e9ef24b4bc4b93dc5554150e33 /libnet/src/libnet_write.c
parent9fce425a281857b1e903401256b221f8e97f243a (diff)
downloadlibnet-14f67cc09cf7c98a871a5e07d699a0d57b2d7747.tar.gz
Bug fixes and reproduction code for ip_offset accounting problem in libnet_build_ipv4
What happens is the ip_offset doesn't get correctly updated, and the checksum is written into invalid memory. Depending on your architecture, and the location of invalid memory, you might segv, silently produce packets with bad checksums or the checksum overwriting some other part of the header, or corrupt glib's internal alloc data structures. See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=418975#47 for more information.
Diffstat (limited to 'libnet/src/libnet_write.c')
0 files changed, 0 insertions, 0 deletions