cfallin opened issue #4731:
OSS-Fuzz produced the following crashing testcase for the
cranelift-icache
fuzz target with the following base64 encoding://///wAAARQAAAAAAAAAgADu
(cat that into
base64 -d
to decode)The crash is a panic with the message "attempt to subtract with overflow". The stackframe in the oss-fuzz report is fairly useless (line 0 in cranelift-icache.rs?) but hopefully the above reproduces easily.
cc @bnjbvr to diagnose?
bnjbvr commented on issue #4731:
So I haven't managed to reproduce:
base64 -d /tmp/encoded.txt > /tmp/decoded.txt
gives me what looks like a binary file,Then I've run
cargo +nightly fuzz run -O --no-default-features cranelift-icache /tmp/decoded
and it runs the binary input without problems (i.e. no crash). I've ran it many times, just to make sure there wasn't any non-determinism. Am I missing something?
I'll post a PR with what could be a fix in the fuzz target itself, though.
alexcrichton labeled issue #4731:
OSS-Fuzz produced the following crashing testcase for the
cranelift-icache
fuzz target with the following base64 encoding://///wAAARQAAAAAAAAAgADu
(cat that into
base64 -d
to decode)The crash is a panic with the message "attempt to subtract with overflow". The stackframe in the oss-fuzz report is fairly useless (line 0 in cranelift-icache.rs?) but hopefully the above reproduces easily.
cc @bnjbvr to diagnose?
bnjbvr commented on issue #4731:
Can one of the people who have access to the oss-fuzz infra confirm whether the linked PR fixed this, please?
jameysharp commented on issue #4731:
Ah, thanks for checking. Yes, oss-fuzz confirmed this fixed a few days ago: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=50398
jameysharp closed issue #4731:
OSS-Fuzz produced the following crashing testcase for the
cranelift-icache
fuzz target with the following base64 encoding://///wAAARQAAAAAAAAAgADu
(cat that into
base64 -d
to decode)The crash is a panic with the message "attempt to subtract with overflow". The stackframe in the oss-fuzz report is fairly useless (line 0 in cranelift-icache.rs?) but hopefully the above reproduces easily.
cc @bnjbvr to diagnose?
Last updated: Nov 22 2024 at 17:03 UTC