]> The Tcpdump Group git mirrors - tcpdump/commit
Fix potential (but not actual) buffer overflow risk.
authorGuy Harris <[email protected]>
Wed, 31 Jul 2013 18:33:15 +0000 (11:33 -0700)
committerGuy Harris <[email protected]>
Wed, 31 Jul 2013 18:33:15 +0000 (11:33 -0700)
commitd4d28dc3c89b62192b980f2f34fe3b4c06b0a795
tree7307ecff09bf27a41bea443bbc88b98781b16b49
parent0ba2f9c718eb3272153cba85db2912b1ad853e6f
Fix potential (but not actual) buffer overflow risk.

The line buffer is 256 bytes long, so the name subfield in the line
can't be bigger than 256 bytes, but

1) somebody could make the line buffer bigger

and

2) this way the format item and buffer size match

so we'll do it anyway.
print-atalk.c