]> The Tcpdump Group git mirrors - tcpdump/commit
bugfix from Jonathan Heusser <[email protected]>
authorhannes <hannes>
Wed, 7 Jan 2004 08:00:51 +0000 (08:00 +0000)
committerhannes <hannes>
Wed, 7 Jan 2004 08:00:51 +0000 (08:00 +0000)
commite0d20f2c0824412b64738c6fa14f87bc8d0ef54d
tree81b81bbdd74092247b0219bb5bf88bf2e1ee51b5
parentde464d5e30af607532a416432695415b1c0a8de5
bugfix from Jonathan Heusser <[email protected]>

  The first critical piece of code is found in print-isakmp.c:332. The
  function rawprint() does not check its arguments thus it's easy for
  an attacker to pass a big 'len' or a bogus 'loc' leading to a
  segmentation fault in the for loop.

  The second bug is located in print-radius.c:471. The for loop of
  print_attr_string() is written in an unsafe manner. 'length'
  and 'data' should be checked.
CREDITS
print-isakmp.c
print-radius.c