summaryrefslogtreecommitdiff
path: root/test/locale-mbwc/dat_mbrlen.c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-01-17 15:47:22 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-01-31 17:39:45 +0100
commitd9c3a16dcab57d6b56225b9a67e9119cc9e2e4ac (patch)
tree88b9953b18c0017f7bef502e12ac645acbe26652 /test/locale-mbwc/dat_mbrlen.c
parent27f1b2c66c67e601dd619a1def70a8fd7ca5eeba (diff)
Do not follow compressed items forever.
It is possible to get stuck in an infinite loop when receiving a specially crafted DNS reply. Exit the loop after a number of iteration and consider the packet invalid. Signed-off-by: Daniel Fahlgren <daniel@fahlgren.se> Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
Diffstat (limited to 'test/locale-mbwc/dat_mbrlen.c')
0 files changed, 0 insertions, 0 deletions