http://bugs.winehq.org/show_bug.cgi?id=30465
--- Comment #9 from Ulrik Dickow u.dickow@gmail.com 2012-04-19 11:37:27 CDT --- (In reply to comment #7)
Ulrik, nice investigation, thanks. It's highly preferred to fix bugs upstream. Please attach your patch to Mozilla's bugzilla and request feedback.
Ok, I'll look into that.
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'll probably benchmark a bit in iexplore in Wine before I remake the patch with hg(1) and submit it to Mozilla bugzilla.
I will attach a build based on Wine Gecko 1.5 sources with your proposed changes, so you may verify it's really fixed.
Thanks a lot. It really fixed it. I used it today with Wine 1.5.1 for a BridgeCentral network database connection for 3½ hours without any crash. Without a fixed dll, it would have crashed within 9 minutes.