URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=38b428a31736cb08563442e3c97564951f7f6601 Submitter: Guy Harris (g...@alum.mit.edu) Changed: branch: master-2.0 Repository: wireshark
Commits: 38b428a by Guy Harris (g...@alum.mit.edu): Report an error for too-short packets. The packet length field gives the length of the *entire* packet, so, by definition, it must not be zero. Make sure it's at least big enough for the packet header itself plus one segment header. Bug: 13416 Change-Id: I625bd5c0ce75ab1200b3becf12fc1c819fefcd63 Reviewed-on: https://code.wireshark.org/review/20133 Reviewed-by: Guy Harris <g...@alum.mit.edu> (cherry picked from commit c7042bedbb3b12c5f4e19e59e52da370d4ffe62f) Reviewed-on: https://code.wireshark.org/review/20135 Actions performed: from 768b279 "NULL" is not what you use for a null pointer. adds 38b428a Report an error for too-short packets. Summary of changes: wiretap/stanag4607.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) ___________________________________________________________________________ Sent via: Wireshark-commits mailing list <wireshark-commits@wireshark.org> Archives: https://www.wireshark.org/lists/wireshark-commits Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-commits mailto:wireshark-commits-requ...@wireshark.org?subject=unsubscribe