Bug 697022 - mujstest: global-buffer-overflow in main (jstest_main.c)
Summary: mujstest: global-buffer-overflow in main (jstest_main.c)
Status: RESOLVED DUPLICATE of bug 697020
Alias: None
Product: MuPDF
Classification: Unclassified
Component: fuzzing (show other bugs)
Version: 1.9
Hardware: PC Linux
: P4 normal
Assignee: MuPDF bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-05 07:53 UTC by Agostino Sarubbo
Modified: 2016-09-23 00:17 UTC (History)
1 user (show)

See Also:
Customer:
Word Size: ---


Attachments
reproducer (3.46 KB, application/octet-stream)
2016-08-05 07:53 UTC, Agostino Sarubbo
Details
stacktrace (2.48 KB, text/plain)
2016-08-05 07:53 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo 2016-08-05 07:53:11 UTC
Created attachment 12823 [details]
reproducer

Hello,

there is a global buffer overflow in main triggered from a crafted file.

I'm attaching:
1) The reproducer;
2) The stacktrace provided by Address Sanitizer;
Comment 1 Agostino Sarubbo 2016-08-05 07:53:32 UTC
Created attachment 12824 [details]
stacktrace
Comment 2 Agostino Sarubbo 2016-09-21 07:03:23 UTC
The command to reproduce the issue is:
# mujstest $REPRODUCER
Comment 3 Sebastian Rasmussen 2016-09-22 10:06:32 UTC
This issue has already been fixed by commit cfe8f35bca61056363368c343be36812abde0a06.

*** This bug has been marked as a duplicate of bug 697020 ***
Comment 4 Agostino Sarubbo 2016-09-23 00:17:37 UTC
> *** This bug has been marked as a duplicate of bug 697020 ***

I think this is a different issue from what is in bug 697020. Mayba addressed by the same commit, but different issue.