Summary: | MUJS library heap based overflow in 'Sp_replace_regexp' function | ||
---|---|---|---|
Product: | MuJS | Reporter: | op7ic <op7ica> |
Component: | general | Assignee: | Tor Andersson <tor.andersson> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P4 | ||
Version: | unspecified | ||
Hardware: | PC | ||
OS: | Linux | ||
Customer: | Word Size: | --- |
Description
op7ic
2016-09-21 05:51:46 UTC
Could you provide a simplified example that actually runs? The provided example fails with SyntaxError: (eval):1: unexpected character: \uFFFD at proof.txt:1 Ignore my previous comment; I can reproduce the error. commit 5000749f5afe3b956fc916e407309de840997f4a Author: Tor Andersson <tor.andersson@artifex.com> Date: Wed Sep 21 16:02:11 2016 +0200 Fix bug 697141: buffer overrun in regexp string substitution. A '$' escape at the end of the string would read past the zero terminator when looking for the escaped character. |