summaryrefslogtreecommitdiff
path: root/tests/atm-heapoverflow.out
diff options
context:
space:
mode:
authorDenis Ovsienko <denis@ovsienko.info>2017-01-14 00:20:47 +0000
committerFrancois-Xavier Le Bail <fx.lebail@yahoo.com>2017-01-18 09:16:42 +0100
commit5d214e36eed3565fbdc0f9b527bbc33a6bb63972 (patch)
tree2b4633b3abc97aa37864838cdd37cae8f2abe730 /tests/atm-heapoverflow.out
parent8851b44c8d22f3c077af0ee57468f57f6c43fc8f (diff)
downloadtcpdump-5d214e36eed3565fbdc0f9b527bbc33a6bb63972.tar.gz
CVE-2017-5484/ATM: fix an incorrect bounds check
The function sig_print() did receive a correct caplen parameter value but didn't use it correctly and could overread by one byte as Brian Carpenter has demonstrated. Fix it by switching to the standard macros.
Diffstat (limited to 'tests/atm-heapoverflow.out')
-rw-r--r--tests/atm-heapoverflow.out1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/atm-heapoverflow.out b/tests/atm-heapoverflow.out
new file mode 100644
index 00000000..c9b12fdf
--- /dev/null
+++ b/tests/atm-heapoverflow.out
@@ -0,0 +1 @@
+Rx: VPI:0 VCI:5 [|atm]