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
{{ message }}
Repository navigation
getZipper with an empty component list loops up to SIZE_MAX #531
Registry::get_zipper (modules/ecs/wasm/Registry.hpp#L295-L322) starts with max = SIZE_MAX and only lowers it inside the loop over the given components. With an empty array, max stays SIZE_MAX, so the second loop runs up to SIZE_MAX and never ends in practice. Read from the code, not run.
Expected: getZipper([]) returns an empty array, or throws a clear error.
Activity