CVSROOT: /cvs Module name: src Changes by: clau...@cvs.openbsd.org 2023/02/28 03:04:50
Modified files: usr.sbin/tcpdump: interface.h print-isoclns.c print-llc.c print-nsh.c tcpdump.c Log message: Adjust default_print() to not run over snapend. Kill default_print_unaligned() and adjust default_print() to also work with unaligned buffers. There is no need for two functions doing the same thing. Pass the right length in nsh_print to default_print(). Fixes on place that makes tcpdump crash. Reported by Peter J. Philipp (pjp at delphinusdns dot org) OK mbuhl@