AddressSanitizer: heap-buffer-overflow [@ __asan_memcpy] with READ of size 8
Categories
(Core :: Graphics, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox118 | --- | affected |
People
(Reporter: truber, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: crash, pernosco, testcase, Whiteboard: [fuzzblocker])
Attachments
(3 files)
The attached testcase crashes on mozilla-central revision 20230824-014c9a0ccc44 (build with --enable-fuzzing & moz2d target patch).
For detailed crash information, see attachment.
To reproduce the issue:
- Build an ASan
--enable-fuzzing
build including gtests with https://phabricator.services.mozilla.com/D186833 applied. - Run
FUZZER=Moz2D objdir/dist/bin/firefox test.bin
Reporter | ||
Comment 1•8 months ago
|
||
Reporter | ||
Comment 2•8 months ago
|
||
Reporter | ||
Comment 3•8 months ago
|
||
Decoded test.bin call.
Updated•8 months ago
|
Comment 4•8 months ago
|
||
A Pernosco session is available here: https://pernos.co/debug/nrXSAewrepw0tfgz7uMvog/index.html
Comment 5•8 months ago
|
||
This issue is triggered within seconds of launching the fuzzer. Marking as fuzzblocker.
Updated•8 months ago
|
Comment 6•8 months ago
|
||
Is this fixed by the patch in bug 1846685?
Reporter | ||
Comment 7•8 months ago
|
||
(In reply to Bob Owen (:bobowen) from comment #6)
Is this fixed by the patch in bug 1846685?
No, I get the same stack with D186161 applied.
Reporter | ||
Comment 8•8 months ago
|
||
My mistake, I had not rebuilt gtest to pick up the patch.
It does appear to fix the testcases here and in bug 1850064. In both cases I see the following, but no crash:
[GFX1-]: Replay failure: PathCreation PLAY
[GFX1-]: Replay failure: PathCreation PLAY
Comment 9•8 months ago
|
||
(In reply to Jesse Schwartzentruber (:truber) from comment #8)
My mistake, I had not rebuilt gtest to pick up the patch.
It does appear to fix the testcases here and in bug 1850064. In both cases I see the following, but no crash:
[GFX1-]: Replay failure: PathCreation PLAY [GFX1-]: Replay failure: PathCreation PLAY
Ah, great I was scratching my head as to what might be going wrong.
I'm not too familiar with this use of the Moz2D recording, but that error seems about right as we just return false as a failure of the CheckedStreamToSink
.
Updated•8 months ago
|
Updated•8 months ago
|
Updated•4 months ago
|
Description
•