summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/strlcpy.c
diff options
context:
space:
mode:
authordwmalone <dwmalone@FreeBSD.org>2001-05-03 11:26:46 +0000
committerdwmalone <dwmalone@FreeBSD.org>2001-05-03 11:26:46 +0000
commit617c2aa875b9365e3a18f15c755d0caaf65d638e (patch)
treefe6ed36402a16215df688f7557fc6c68eea2f32a /lib/libc/string/strlcpy.c
parentac445d2404712acbeb9a61baa320bb9c94a4b013 (diff)
downloadFreeBSD-src-617c2aa875b9365e3a18f15c755d0caaf65d638e.zip
FreeBSD-src-617c2aa875b9365e3a18f15c755d0caaf65d638e.tar.gz
Avoid dividing by zero if kd->procbase->ki_structsize is uninitalised.
(I'm testing the numerator rather than the denominator, which looks weird, but is the right thing to do here).
Diffstat (limited to 'lib/libc/string/strlcpy.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud