diff options
author | ngie <ngie@FreeBSD.org> | 2016-04-19 23:59:10 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2016-04-19 23:59:10 +0000 |
commit | ef837f8229b78347a7fa76948f495fc09df2ec2e (patch) | |
tree | d44877d4c066a74eb86d9c1c9d5bd17d7146407c /lib/libc/resolv/res_init.c | |
parent | a7d40a88c91d105dcfe2f235bc84a522bfea3de2 (diff) | |
download | FreeBSD-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