http://bugs.winehq.org/show_bug.cgi?id=30465
Jacek Caban jacek@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |jacek@codeweavers.com Ever Confirmed|0 |1
--- Comment #7 from Jacek Caban jacek@codeweavers.com 2012-04-18 05:15:32 CDT --- Ulrik, nice investigation, thanks. It's highly preferred to fix bugs upstream. Please attach your patch to Mozilla's bugzilla and request feedback. I suspect additional checks may be too much if this function is used in hot paths, but guys at Mozilla will know better and I'm sure there is a solution that will be acceptable for them.
I will attach a build based on Wine Gecko 1.5 sources with your proposed changes, so you may verify it's really fixed.