diff options
author | mtb <39337159+mtb0x1@users.noreply.github.com> | 2024-06-19 01:09:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-18 16:09:19 -0700 |
commit | 408bc7fbbe193648cb242bdbd096205aa776634b (patch) | |
tree | aa179537fc8d2d40ab84a7d263aa10d03e83af4f /scripts/test/binaryenjs.py | |
parent | c3b9cde9d99efe46fc34af1d5b27351f34962e94 (diff) | |
download | binaryen-408bc7fbbe193648cb242bdbd096205aa776634b.tar.gz binaryen-408bc7fbbe193648cb242bdbd096205aa776634b.tar.bz2 binaryen-408bc7fbbe193648cb242bdbd096205aa776634b.zip |
fix(#6671): fix possible stack buffer overflow in gen-s-parser.inc (#6678)
The stack buffer overflow is occurring because memcpy(buf, op.data(),
op.size()); can write up to op.size() bytes into buf, but buf is only 33
bytes long. If op.size() is greater than 33, this will result in a
buffer overflow.
Diffstat (limited to 'scripts/test/binaryenjs.py')
0 files changed, 0 insertions, 0 deletions