URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=fd425b195cff4b2138ed36e0cd30304348eb034a
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark
Commits:
fd425b1 by Guy Harris (guy@xxxxxxxxxxxx):
Also don't treat an empty buffer as JSON.
That also keeps us from looking at the non-existent first octet of an
empty buffer.
Bug: 16031
Change-Id: I3fcf4201d21dc44ccd8815cb0637c1eae4995560
Reviewed-on: https://code.wireshark.org/review/34439
Petri-Dish: Guy Harris <guy@xxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
Actions performed:
from 6b28772 Strengthen the JSON validator.
add fd425b1 Also don't treat an empty buffer as JSON.
Summary of changes:
wsutil/wsjson.c | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)