HardenedBSD/cddl/contrib/opensolaris
Domagoj Stolfa a877965fa3 dtrace: fix an out of bound read and a NULL pointer increment
In dt_cc.c when the provider is an empty string, accessing
strlen(pdp->dtpd_provider) - 1 will result in a pdp->dtpd_provider[-1]
access.

Similarly, in dt_ident.c, if p2 is a NULL pointer, doing a p2++ on it is
undefined behaviour.

Reviewed by:	markj
MFC after:	1 week
Sponsored by:	Google
Differential Revision:	https://reviews.freebsd.org/D30778
2021-06-17 13:52:32 -04:00
..
cmd dtrace tests: Fix tst.system.d after ping/ping6 unification 2021-04-23 10:28:09 -04:00
common libctf: Adjust logic to match upstream after 410556f1f 2021-03-27 20:37:12 -04:00
head
lib dtrace: fix an out of bound read and a NULL pointer increment 2021-06-17 13:52:32 -04:00
tools/ctf Merge OpenZFS support in to HEAD. 2020-08-25 02:21:27 +00:00
OPENSOLARIS.LICENSE