Created attachment 186162 [details]
Originally filed by firstname.lastname@example.org at https://crbug.com/171363
Chrome Version: 25.0.1364.36
Operating System: Ubuntu 10.04
URL (if applicable) where crash occurred: http://shinobi.dempsky.org/~matthew/misc/chrome-svg-crash.html
Can you reproduce this crash? Yes, 100% reliable.
What steps will reproduce this crash? (or if it's not reproducible, what were you doing just before the crash)?
1. Navigate to http://shinobi.dempsky.org/~matthew/misc/chrome-svg-crash.html
2. Click the left orange square.
The bug exists when there are multiple event handlers on a node in an SVG use tree and the first handler causes the tree to be rebuilt. The target of the event remains the now removed node from the original use tree. I am not certain that this is a security issue, but I suspect it is due to a heap-use-after-free scenario. Maybe the ref-counting on the target is enough to avoid the heap-use-after-free.
It is NOT a security bug in the example because it is a Chrome mouse event handler that is second to be invoked, and Chrome cannot access a WebNode for the deleted node (it's null).
Created attachment 187703 [details]
Comment on attachment 187703 [details]
Clearing flags on attachment: 187703
Committed r142548: <http://trac.webkit.org/changeset/142548>
All reviewed patches have been landed. Closing bug.