Summary: | MUJS library use-after-free in 'Rp_toString' 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 06:00:53 UTC
commit 5c337af4b3df80cf967e4f9f6a21522de84b392a Author: Tor Andersson <tor.andersson@artifex.com> Date: Wed Sep 21 16:01:08 2016 +0200 Fix bug 697142: Stale string pointer stored in regexp object. Make sure to make a copy of the source pattern string. A case we missed when adding short and memory strings to the runtime. The code assumed all strings passed to it were either literal or interned. |