[PATCH 1/1] inet: fix unsafe access to _res.options in res_mkquery()
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Fri Jul 19 15:37:34 UTC 2013
On Sat, Jun 08, 2013 at 03:49:45PM -0700, Vanya Sergeev wrote:
>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.
Good catch! applied, thanks!
More information about the uClibc
mailing list