Skip to content
Commit f8019aaa authored by Federico Mena Quintero's avatar Federico Mena Quintero
Browse files

bgo#744688 - Fix double g_free() when processing stroke-dasharray



The part of rsvg_parse_style_pair() that validates the dash pattern, by seeing
if any actual dash length was generated, could leave a dangling pointer after
a g_free() if the dash pattern turned out to be invalid.  Later, rsvg_state_inherit_run()
would try to g_free() this dangling pointer as well.

Found by Atte Kettunen's fuzz testing.

Signed-off-by: default avatarFederico Mena Quintero <federico@gnome.org>
parent d7b49df8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment