Closed
Bug 306131
Opened 19 years ago
Closed 14 years ago
SVG attribute parsing abuses strings/chars
Categories
(Core :: SVG, defect)
Core
SVG
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: jruderman, Unassigned)
Details
nsSVGPathSegList::SetValueString and nsSVGLength::SetValueAsString (and perhaps
others) convert nsAStrings to char* using ToNewCString
(http://lxr.mozilla.org/mozilla/source/xpcom/string/public/nsReadableUtils.h#93).
This is incorrect because it chops non-ASCII characters and can lead to embedded
nulls being treated as the end of the string.
Updated•19 years ago
|
Flags: blocking1.9a1?
Updated•18 years ago
|
Flags: blocking1.9a1? → blocking1.9-
Updated•17 years ago
|
OS: Mac OS X → All
Hardware: Macintosh → All
Version: 1.8 Branch → Trunk
Updated•15 years ago
|
Assignee: general → nobody
QA Contact: ian → general
Comment 1•14 years ago
|
||
ToNewCString has gone with the patches that introduced animation. The only remaining content call is in a debug printf.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•