Make sure all map operators work after calling clear() on a map.
authormpi <mpi@openbsd.org>
Thu, 9 Sep 2021 06:58:39 +0000 (06:58 +0000)
committermpi <mpi@openbsd.org>
Thu, 9 Sep 2021 06:58:39 +0000 (06:58 +0000)
commit7ccb822d1dd77b0eeed48cadaf49925a6ed9fffa
treef9b90ed356bb9a6ee2a15658716c317db7f29ad6
parentcb3c07dc14f46ac61d2ad286d5eedb412f5511ba
Make sure all map operators work after calling clear() on a map.

Fix assertions found by jasper@ with AFL++.

ok jasper@
usr.sbin/btrace/btrace.c
usr.sbin/btrace/map.c