summaryrefslogtreecommitdiff
path: root/src/binary-reader-logging.h
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2020-08-19 11:28:42 -0700
committerGitHub <noreply@github.com>2020-08-19 11:28:42 -0700
commit713becedfe45e7b7a993d7efb6fd2994f064b234 (patch)
tree2fce05c3ec6b9e7532f080e8ea75db64661999b6 /src/binary-reader-logging.h
parent40f6a8a9354f335f9bbe05b1962172873c2913f0 (diff)
downloadwabt-713becedfe45e7b7a993d7efb6fd2994f064b234.tar.gz
wabt-713becedfe45e7b7a993d7efb6fd2994f064b234.tar.bz2
wabt-713becedfe45e7b7a993d7efb6fd2994f064b234.zip
Fix integer overflow in objdump name tracking (#1524)
Fixes: #1520
Diffstat (limited to 'src/binary-reader-logging.h')
-rw-r--r--src/binary-reader-logging.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/binary-reader-logging.h b/src/binary-reader-logging.h
index af7a92ba..a461572b 100644
--- a/src/binary-reader-logging.h
+++ b/src/binary-reader-logging.h
@@ -37,7 +37,9 @@ class BinaryReaderLogging : public BinaryReaderDelegate {
BinarySection section_type,
Offset size) override;
- Result BeginCustomSection(Offset size, string_view section_name) override;
+ Result BeginCustomSection(Index section_index,
+ Offset size,
+ string_view section_name) override;
Result EndCustomSection() override;
Result BeginTypeSection(Offset size) override;