Closed
Bug 618525
Opened 15 years ago
Closed 15 years ago
_create_locale needs to be paired with _free_locale
Categories
(Core :: Graphics: CanvasWebGL, defect)
Core
Graphics: CanvasWebGL
Tracking
()
RESOLVED
FIXED
People
(Reporter: bjacob, Assigned: bjacob)
Details
Attachments
(1 file)
704 bytes,
patch
|
vlad
:
review+
|
Details | Diff | Splinter Review |
From bug 616290 comment 2:
Comment on attachment 494836 [details] [diff] [review]
upgrade to 498
>+#ifdef _MSC_VER
>+ return _atof_l(str, _create_locale(LC_NUMERIC, "C"));
Whoops. Every _create_locale needs to be paired with _free_locale...
Assignee | ||
Comment 1•15 years ago
|
||
This fixes it.
Note that this is a leak with DOS implications since it's triggered by content. You could have a shader with 1000 float literals, and you could compile it repeatedly. So it should be a blocker.
Assignee | ||
Updated•15 years ago
|
blocking2.0: --- → ?
Assignee | ||
Comment 2•15 years ago
|
||
Attachment #497029 -
Flags: review?(vladimir) → review+
Assignee | ||
Comment 3•15 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/32ebdd4db3b6
(vlad said a+ on IRC, and you should trust me anyway because I have implanted a trojan chip in your brain)
Status: ASSIGNED → RESOLVED
blocking2.0: ? → ---
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•