gtk2/testsuite/css/parser/border-crash-3.24.errors
Alexandr Miloslavskiy fd1630e049 Fix crash in parse_border()
The bug was introduced in commit:
	9b7640b8 by Benjamin Otte, 2012-03-26 17:24:02
	styleproperty: Make _gtk_style_property_parse_value() return a CssValue

In that commit, `values` changed from `GValue*` to `GtkCssValue**`,
but one `!G_IS_VALUE (&values[8])` was left untouched. As a result,
if `border` shorthand contains anything after color, it might crash,
depending on memory layout.

New test included.

Fixes: #751
2019-11-23 18:15:19 +01:00

2 lines
62 B
Plaintext

border-crash-3.24.css:3: error: GTK_CSS_PROVIDER_ERROR_SYNTAX