Skip to content

v1.0.0-pre.8

Pre-release
Pre-release

Choose a tag to compare

@anth64 anth64 released this 08 Mar 09:14
· 9 commits to main since this release

What's Changed

  • stk_poll: new modules were loaded into stale pre-compaction slot indices when simultaneous load and unload events occurred in the same poll cycle. The two load loops have been unified into one that always appends to the compacted array.
  • stk_poll: cascade_indices was a fixed 256-slot stack array with no bounds check. Now heap-allocated to module_count entries per iteration.
  • stk_pending_retry: module array was pre-allocated to module_count + stk_pending_count but never shrunk when fewer entries loaded than were pending. Now trimmed to actual count after the retry loop.
  • stk_collect_dependents: no bounds guard before writing to the indices buffer. Added capacity parameter and an explicit check before every write.
  • stk_log_modules: %lu with size_t is UB on 64-bit MSVC where unsigned long is 32-bit. Fixed with an explicit (unsigned long) cast.

Full Changelog: v1.0.0-pre.7...v1.0.0-pre.8