URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=d93f7b870703378c816b53b0e5484776562b81c0
Submitter: Peter Wu (peter@xxxxxxxxxxxxx)
Changed: branch: master-2.6
Repository: wireshark
Commits:
d93f7b8 by Peter Wu (peter@xxxxxxxxxxxxx):
dns: fix null pointer deref for empty name in SRV record
Per RFC 2782, the name should follow the "_Service._Proto.Name" format.
If a malformed packet does not adhere to this and provides a zero-length
name, then wmem_strsplit returns NULL.
Bug: 14681
Change-Id: I7b9935238a9800a1526c8b694fd2c63d3b488d0b
Link: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=7416
Reviewed-on: https://code.wireshark.org/review/27499
Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
(cherry picked from commit 843735e0efe03f601ed69f69e5295974aad927b2)
Reviewed-on: https://code.wireshark.org/review/27528
Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
Actions performed:
from 634e5e4 Add missing docbook graphics files to the CMake file.
adds d93f7b8 dns: fix null pointer deref for empty name in SRV record
Summary of changes:
epan/dissectors/packet-dns.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)