summaryrefslogtreecommitdiffstats
path: root/libpthread/linuxthreads/rwlock.c
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-04-06 09:55:19 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2010-04-06 10:52:23 +0200
commiteb1d8c8289f466ba3ad10b9a88ab2e426b8a9dc7 (patch)
tree94e7b412fea2d5f0b3db8c0b9448456ecd2915bd /libpthread/linuxthreads/rwlock.c
parent8477df4d627200cdd251190b9ebfda75cb57f29c (diff)
downloaduClibc-alpine-eb1d8c8289f466ba3ad10b9a88ab2e426b8a9dc7.tar.bz2
uClibc-alpine-eb1d8c8289f466ba3ad10b9a88ab2e426b8a9dc7.tar.xz
Fix use-after-free bug in __dns_lookup
If the type of the first answer does not match with the requested type, then the dotted name was freed. If there are no further answers in the DNS reply, this pointer was used later on in the same function. Additionally it is passed to the caller, and caused strange behaviour. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libpthread/linuxthreads/rwlock.c')
0 files changed, 0 insertions, 0 deletions