Bug 697022

Summary: mujstest: global-buffer-overflow in main (jstest_main.c)
Product: MuPDF Reporter: Agostino Sarubbo <ago>
Component: fuzzingAssignee: MuPDF bugs <mupdf-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: sebastian.rasmussen
Priority: P4    
Version: 1.9   
Hardware: PC   
OS: Linux   
Customer: Word Size: ---
Attachments: reproducer
stacktrace

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.