summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2008-03-29 03:48:06 +0000
committerjhb <jhb@FreeBSD.org>2008-03-29 03:48:06 +0000
commit834e2b5e85c714f14867db5b5ff48321a9c09573 (patch)
tree95b1004b01249212f0f838f7fb859fdf33843908 /lib/libc
parent5cb64aae6314c928aa4d07409d7f9e057a1ade46 (diff)
downloadFreeBSD-src-834e2b5e85c714f14867db5b5ff48321a9c09573.zip
FreeBSD-src-834e2b5e85c714f14867db5b5ff48321a9c09573.tar.gz
Initialize the head pointer in kld_current_sos() to NULL to avoid returning
a junk pointer and possibly causing a seg fault if we don't have any non-kernel klds (or are unable to walk the list due to core / kernel mismatch). MFC after: 1 week
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud