summaryrefslogtreecommitdiff
path: root/test/locale-mbwc/dat_towctrans.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:26:41 +0200
commitfd8991cc59305a071e9f1765b3e1e09de9339bc3 (patch)
tree8c2b16e98ddf44e803a71b195d274d118ec68dad /test/locale-mbwc/dat_towctrans.c
parentcd50d9a1c93bf1e02f4d4e2df4ece6c881f24719 (diff)
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 'test/locale-mbwc/dat_towctrans.c')
0 files changed, 0 insertions, 0 deletions