Bug 697020

Summary: mujstest: strcpy-param-overlap in main (jstest_main.c)
Product: MuPDF Reporter: Agostino Sarubbo <ago>
Component: fuzzingAssignee: MuPDF bugs <mupdf-bugs>
Status: RESOLVED FIXED    
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:47:45 UTC
Created attachment 12819 [details]
reproducer

Hello,

there is a strcpy-param-overlap 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:48:26 UTC
Created attachment 12820 [details]
stacktrace
Comment 2 Agostino Sarubbo 2016-09-21 07:03:12 UTC
The command to reproduce the issue is:
# mujstest $REPRODUCER
Comment 3 Sebastian Rasmussen 2016-09-22 09:36:09 UTC
This issue has been fixed in commit cfe8f35bca61056363368c343be36812abde0a06.
Comment 4 Sebastian Rasmussen 2016-09-22 10:06:32 UTC
*** Bug 697022 has been marked as a duplicate of this bug. ***