summaryrefslogtreecommitdiffstats
path: root/platform/android/detect.py
diff options
context:
space:
mode:
authorMaxim Kulkin <maxim.kulkin@gmail.com>2023-02-17 05:18:58 -0500
committerYuri Sizov <yuris@humnom.net>2023-07-14 19:20:04 +0200
commit058604f5b845812a8b75a8014a1b243115ad65c7 (patch)
tree344b85888cf68a105e6c0fa6c6fed26800c761c1 /platform/android/detect.py
parent0f7625ab46a64b3f5da2b09969ebabf38df9a6e9 (diff)
downloadredot-engine-058604f5b845812a8b75a8014a1b243115ad65c7.tar.gz
Fix crash when saving resources with circular references
When saving resources, marking of already seen resources was done too late, causing infinite loop traversing referenced resources and eventual stack overflow. The change marks traversed resource before descending to it's children, thus when this resource is encountered again, it is already marked as seen and traversal stops.
Diffstat (limited to 'platform/android/detect.py')
0 files changed, 0 insertions, 0 deletions