summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/malloc.c
diff options
context:
space:
mode:
authoroga <oga@openbsd.org>2008-04-12 13:57:56 +0000
committeroga <oga@openbsd.org>2008-04-12 13:57:56 +0000
commit9a746e41e646a8049cd95c7f474397f7ee9a92c4 (patch)
tree0a834d47a859320952ce99b54fe9289a2f5c9484 /lib/libc/stdlib/malloc.c
parentConvert the list of agp memory over to a TAILQ instead of using a hand- (diff)
downloadwireguard-openbsd-9a746e41e646a8049cd95c7f474397f7ee9a92c4.tar.xz
wireguard-openbsd-9a746e41e646a8049cd95c7f474397f7ee9a92c4.zip
check the softc for null before we use it. Fixes a crash when drm is enabled
but no device attached when the X server tries to use it. Tested by many.
Diffstat (limited to 'lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions