]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Avoid NULL pointer dereferences
authorWarner Losh <imp@FreeBSD.org>
Sat, 29 Aug 2020 09:59:52 +0000 (09:59 +0000)
committerWarner Losh <imp@FreeBSD.org>
Sat, 29 Aug 2020 09:59:52 +0000 (09:59 +0000)
commit5eade881a803129e24517ffd93d34867966ba814
treefdaf0172c60b24e484387eab80f33adde7905312
parent17c219fd6f018b21d39de2623c533be2f507008e
Avoid NULL pointer dereferences

Add back NULL pointer checks accidentally dropped in r364946. We need
to append a NUL character when that happens.
sys/kern/subr_bus.c