summaryrefslogtreecommitdiff
path: root/libc/inet/rpc/clnt_perror.c
diff options
context:
space:
mode:
authorVanya Sergeev <vsergeev@gmail.com>2013-06-08 15:49:45 -0700
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-07-19 17:35:56 +0200
commit6e16f1768d75a3f5c367dcd6a5ab63f65fce5f82 (patch)
tree80d1b58d9e200ca632e7418b79edd814026043de /libc/inet/rpc/clnt_perror.c
parent603af30d6992e94ac30a66b953264076f4f2fd71 (diff)
inet: fix unsafe access to _res.options in res_mkquery()
res_mkquery() takes out __resolv_lock to copy _res.options to function local _res_options on line 4204, but later unsafely accesses _res.options without a lock, instead of its local copy _res_options, on line 4221. Looks like a period / underscore typo. Signed-off-by: Vanya Sergeev <vsergeev@gmail.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/inet/rpc/clnt_perror.c')
0 files changed, 0 insertions, 0 deletions