summaryrefslogtreecommitdiffstats
path: root/lib/libc/resolv/res_init.c
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2016-04-19 23:59:10 +0000
committerngie <ngie@FreeBSD.org>2016-04-19 23:59:10 +0000
commitef837f8229b78347a7fa76948f495fc09df2ec2e (patch)
treed44877d4c066a74eb86d9c1c9d5bd17d7146407c /lib/libc/resolv/res_init.c
parenta7d40a88c91d105dcfe2f235bc84a522bfea3de2 (diff)
downloadFreeBSD-src-ef837f8229b78347a7fa76948f495fc09df2ec2e.zip
FreeBSD-src-ef837f8229b78347a7fa76948f495fc09df2ec2e.tar.gz
Make sure fmemopen succeeds in :test_append_binary_pos before calling ftell
on the FILE object This fixes potential null pointer dereferences on failure CID: 1254952 MFC after: 2 weeks Reported by: Coverity Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'lib/libc/resolv/res_init.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud