Read the whole buffer, not its size minus one.
authormpi <mpi@openbsd.org>
Tue, 9 Jul 2024 16:08:30 +0000 (16:08 +0000)
committermpi <mpi@openbsd.org>
Tue, 9 Jul 2024 16:08:30 +0000 (16:08 +0000)
commit813b934a8a60c6eb1b54365ef190f3583e7dc8ce
tree4227bce4b6935a20f1ce5927780b48cc1ec2e853
parent04e5e97803727d652c55fcf5a444048c4f3e9abe
Read the whole buffer, not its size minus one.

From Christian Ludwig cludwig at genua.de.
usr.sbin/btrace/btrace.c