Wireshark-commits: [Wireshark-commits] master-3.0 95571f1: TSDNS: Add more wmem_strsplit return che
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=95571f17d5e2de39735e62e5251583f930c06d51
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master-3.0
Repository: wireshark
Commits:
95571f1 by Gerald Combs (gerald@xxxxxxxxxxxxx):
TSDNS: Add more wmem_strsplit return checks.
wmem_strsplit might return NULL, or it might return fewer tokens than
requested. Add checks accordingly. Update the API documentation while
we're here.
Bug: 15619
Change-Id: I55ae05a36d05252cf57e5c7047a441ef1b438a81
Reviewed-on: https://code.wireshark.org/review/32494
Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
Petri-Dish: Gerald Combs <gerald@xxxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
(cherry picked from commit 19d54ac364150cd6c76488d2c2a5b6fd081daa5a)
Reviewed-on: https://code.wireshark.org/review/32505
Actions performed:
from 64098e9 Syslog: proper message handling
add 95571f1 TSDNS: Add more wmem_strsplit return checks.
Summary of changes:
epan/dissectors/packet-tsdns.c | 2 +-
epan/wmem/wmem_strutl.h | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)