Fix rendering causing stack overflow
With a deeply nested svg document, the process will run out of stack
if the stack is limited. To fix this, a limit to the number of nested
element is used to stop rendering if the current nested level is
exceeding the max limit.
Task-number: QTBUG-145916
Pick-to: 6.11
Change-Id: I2047aa3d64332b47a7c2819bcc3219eabbc00891
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
| commit | 16119ddc0f8a39a7131d95715c7d9c01e428819d |
| parent | 5eeab927ef2139d5fe45ec5202a4af984a2cf394 |
| author | Hatem ElKharashy <hatem.elkharashy@qt.io> |
| committer | Hatem ElKharashy <hatem.elkharashy@qt.io> |
| commit time | Fri, 24 Apr 2026 05:24:28 +0000 |