diff options
author | trhodes <trhodes@FreeBSD.org> | 2012-09-06 20:15:44 +0000 |
---|---|---|
committer | trhodes <trhodes@FreeBSD.org> | 2012-09-06 20:15:44 +0000 |
commit | b483b4ba3d82feaef71fa09be9ad987686bd4204 (patch) | |
tree | c83fd08bdd5db2103d575027fd15e5d867cd4dcb /lib/libc/stdio/fputwc.c | |
parent | 88d971cbf76aa5b7791ee8f01781a67000b53876 (diff) | |
download | FreeBSD-src-b483b4ba3d82feaef71fa09be9ad987686bd4204.zip FreeBSD-src-b483b4ba3d82feaef71fa09be9ad987686bd4204.tar.gz |
Avoid segfault if name is invalid. Basically, only
check for CTL_USER if the sysctl fails with ENOENT.
PR: 169056
Reviewed by: jhb
Diffstat (limited to 'lib/libc/stdio/fputwc.c')
0 files changed, 0 insertions, 0 deletions