Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(103)

Unified Diff: LayoutTests/svg/custom/svg-length-rem-crash-expected.txt

Issue 1069213003: SVGLength: Avoid reading out-of-bounds when parsing incorrect 'rem' unit (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/svg/custom/svg-length-rem-crash.html ('k') | Source/core/svg/SVGLength.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/custom/svg-length-rem-crash-expected.txt
diff --git a/LayoutTests/svg/custom/svg-length-rem-crash-expected.txt b/LayoutTests/svg/custom/svg-length-rem-crash-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9388ebd51bb5a8686c4bc4a44cde0714ea16ad54
--- /dev/null
+++ b/LayoutTests/svg/custom/svg-length-rem-crash-expected.txt
@@ -0,0 +1,2 @@
+CONSOLE ERROR: line 2: Error: Invalid value for <svg> attribute width="1re"
+This test passes if it doesn't crash in ASAN.
« no previous file with comments | « LayoutTests/svg/custom/svg-length-rem-crash.html ('k') | Source/core/svg/SVGLength.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698