You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The stackoverflow also happens in crate-reader.cc::!BuildDecompressedPathsImpl when input USD scene has too many USD Prims(too deep PathIndex hierarchy)
There are some recursive function call in TinyUSDZ, for example:
https://github.com/syoyo/tinyusdz/blob/b158c289c964c9b107dc7530fbf45f3db4387d88/src/usdc-reader.cc#L1339
To avoid potential stack overflow, rewrite it to for-loop
(For security, for running TinyUSDZ on embedded(wasm) environment)
The text was updated successfully, but these errors were encountered: