diff options
author | Peter Wu <peter@lekensteyn.nl> | 2016-01-09 13:21:28 +0100 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2016-01-15 08:28:20 +0000 |
commit | 6ef2b48dbe280bdc2c2e8559556a426a9ae44b0d (patch) | |
tree | 8fe2eb2285f8b483844160cb74e70952daa42ebc /extcap_parser.h | |
parent | cefd1d4910a31f71ddab6cc4b4c5d5a8f7ffe91e (diff) | |
download | wireshark-6ef2b48dbe280bdc2c2e8559556a426a9ae44b0d.tar.gz |
uaudp: fix buffer overrun while reading pref
Drop the custom str_to_addr_ip, it overruns the buffer with at most 3
bytes when an empty string is passed. Remove sizeof(guint8) while at it,
the C standard requires this to be 1.
Avoid overwriting uaudp.system_ip to avoid an invalid free of the
preference.
Change-Id: I39cb0a35364f2ecd32b780fcb7c0253bd866f329
Reviewed-on: https://code.wireshark.org/review/13145
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'extcap_parser.h')
0 files changed, 0 insertions, 0 deletions