diff options
author | Guy Harris <guy@alum.mit.edu> | 2015-08-07 15:27:11 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2015-08-07 22:28:20 +0000 |
commit | a001ed6f8a88d1870e1377fae3c73b4b5e7160e3 (patch) | |
tree | 19d616a13db23d122f5fa301f831f2f656e517a1 /docbook/CMakeLists.txt | |
parent | 817d9bd621caf809b9e6c6d93ab26d7d4f76a33f (diff) | |
download | wireshark-a001ed6f8a88d1870e1377fae3c73b4b5e7160e3.tar.gz |
Avoid (unlikely) NRB record size overflows.
If a host name is *so* long that an entry for it won't fit in a
65535-byte Name Resolution Block record, ignore the entry for that host.
Use more appropriate data types (guint32 for sizes that are 32-bit
unsigned integers, guint16 for the host name length as it'd better fit
in 16 bits).
Clean up some comments.
Remove a _U_ that's applied to a variable that *is* used.
Change-Id: I153d5aa885105149c62a5e5d2b78b54cf6ed7b4e
Reviewed-on: https://code.wireshark.org/review/9917
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'docbook/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions