Skip to content
github.com https://github.com/gpac/gpac/issues/3791 Code

github.com https://github.com/gpac/gpac/issues/3791 Code

github.com • November 22, 2026

A PROTO whose body instantiates itself (directly or cyclically) makes proto instantiation recurse without bound: gf_sg_proto_instantiate ( scenegraph/vrml_proto.c:655 ) and gf_vrml_node_clone ( scenegraph/vrml_proto.c:448 / 455 / 520 ) call each other for every nested proto instance. The unbounded mutual recursion exhausts the thread stack; the guard page is hit inside a node constructor ( LineProperties_Create , scenegraph/mpeg4_nodes.c:9322 , which varies by input) - a stack-overflow.

Steps to reproduce the behavior:

link to the sample (github-url):

184_Material2D_Create_scenegraph_mpeg4_nodes_c_9322

aureliendavid added a commit that references this issue on Jul 25, 2026 fuzz: more bt and xmt mem fixes This issue will close once commit 3e53564 is merged into the 'master' branch. 3e53564

fuzz: more bt and xmt mem fixes

aureliendavid closed this as completed in 3e53564 on Jul 25, 2026

Extracted Entities