Bug 697020 - mujstest: strcpy-param-overlap in main (jstest_main.c)
Summary: mujstest: strcpy-param-overlap in main (jstest_main.c)
Status: RESOLVED FIXED
Alias: None
Product: MuPDF
Classification: Unclassified
Component: fuzzing (show other bugs)
Version: 1.9
Hardware: PC Linux
: P4 normal
Assignee: MuPDF bugs
URL:
Keywords:
: 697022 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-08-05 07:47 UTC by Agostino Sarubbo
Modified: 2016-09-22 10:06 UTC (History)
1 user (show)

See Also:
Customer:
Word Size: ---


Attachments
reproducer (6.24 KB, application/octet-stream)
2016-08-05 07:47 UTC, Agostino Sarubbo
Details
stacktrace (1.23 KB, text/plain)
2016-08-05 07:48 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: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. ***