Crashtest for bug 782141 - (CVE-2012-3969) Heap-buffer-overflow in nsSVGFEMorphologyElement::Filter. r=me.
This commit is contained in:
16
layout/svg/crashtests/782141-1.svg
Executable file
16
layout/svg/crashtests/782141-1.svg
Executable file
@@ -0,0 +1,16 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" version="1.1"
|
||||
onload="go()">
|
||||
<script>
|
||||
|
||||
function go() {
|
||||
var f = document.getElementById('f');
|
||||
var fm = document.getElementById('fm');
|
||||
f.appendChild(fm.cloneNode(1));
|
||||
}
|
||||
|
||||
</script>
|
||||
<filter id="f">
|
||||
<feMorphology id="fm" radius="2147483500"/>
|
||||
</filter>
|
||||
<rect height="28" width="256" filter="url(#f)" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 370 B |
@@ -136,6 +136,7 @@ load 767056-1.svg
|
||||
load 768351.svg
|
||||
load 780963-1.html
|
||||
load 757751-1.svg
|
||||
load 782141-1.svg
|
||||
load 784061-1.svg
|
||||
load 790072.svg
|
||||
load 791826-1.svg
|
||||
|
||||
Reference in New Issue
Block a user