diff options
author | Stefan Sperling <stsp@cvs.openbsd.org> | 2019-11-26 17:51:34 +0000 |
---|---|---|
committer | Stefan Sperling <stsp@cvs.openbsd.org> | 2019-11-26 17:51:34 +0000 |
commit | 17057babb497ab9c1b4a3c47d6399751831eccb9 (patch) | |
tree | cbb6700cea711aff666164ab7db47fd11a045b7f /lib/libfuse | |
parent | 571a2f69c8b1f4c51fb1fb240af2efc48f59e214 (diff) |
Prevent divide-by zero in tcpbench(1). Found while testing iwm(4).
#0 0x000004c27b9051a9 in udp_process_slice (fd=<optimized out>,
event=<optimized out>, v_sc=0x4c55279f500)
at /usr/src/usr.bin/tcpbench/tcpbench.c:606
606 pps = (sc->udp_slice_pkts * 1000) / since_last;
(gdb) p since_last
$1 = 0
ok benno@
Diffstat (limited to 'lib/libfuse')
0 files changed, 0 insertions, 0 deletions