mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-07 21:23:32 +00:00
svg: fixed invalid memory access
Added "Filter" and "GaussianBlur" to the list of node type strings to ensure the array fully covers the SvgNodeType enum values.
This commit is contained in:
parent
af7fb159d1
commit
7feb43201b
1 changed files with 2 additions and 0 deletions
|
@ -255,6 +255,8 @@ const char* xmlNodeTypeToString(TVG_UNUSED SvgNodeType type)
|
|||
"ClipPath",
|
||||
"Mask",
|
||||
"Symbol",
|
||||
"Filter",
|
||||
"GaussianBlur",
|
||||
"Unknown",
|
||||
};
|
||||
return TYPE_NAMES[(int) type];
|
||||
|
|
Loading…
Add table
Reference in a new issue