Skip to content

Use safer containers for menu text buffers#216

Open
themuffinator wants to merge 295 commits intomainfrom
codex/update-menu_t-to-use-safer-containers
Open

Use safer containers for menu text buffers#216
themuffinator wants to merge 295 commits intomainfrom
codex/update-menu_t-to-use-safer-containers

Conversation

@themuffinator
Copy link
Collaborator

Summary

  • replace raw menu text buffers with std::array-backed storage to maintain bounds
  • update menu handling, status bar rendering, and vote selection paths to use the bounded data accessors
  • add function headers and ensure text duplication respects configured size limits

Testing

  • Not run (not requested)

Codex Task

…alue-initialization-in-spawnentities Add helper to reset level struct safely
…s-for-code-reuse Refactor SpawnEntities entity parsing
…opulation-after-reset Preserve level entity string
…-conversion-in-intermission-code Fix intermission angles
…nt-in-pitch-adjustments Guard intermission pitch hacks when spawn missing
…nitgame Clamp maxclients before allocations
…alls-in-load/save-path Fix TagMalloc tags in load paths
…-logic Ensure map restart resets world state
…-in-cmd_setmap_f Improve map list validation in setmap command
…ms-for-round-management Defer team balance during rounds
…licate-entries-in-initsave Handle duplicate save registry entries
…ctivator-in-g_printactivationmessage Handle null trigger activators safely
…ndlymessage-for-spectators Ensure spectators inherit team chat prefix
…in-main Reset shared state between CTF flag tests
…ers.social_id Sanitize player social id for config paths
…file-in-pcfg_clientinitpconfig Parse and apply player config settings
…string-write-in-pcfg_writeconfig Restore validation and writing for player config output
…itpconfig-for-ftell-handling Handle pcfg file length errors
…g-in-pcfg_clientinitpconfig Handle invalid player configs by regenerating defaults
…itpconfig-to-parse-config Improve player config parsing validation
…cial_id-in-config-path Harden player config path handling
…itpconfig-parsing Parse player configs with validation
…g-detection-and-regeneration Handle invalid player configs
…n-g_save-and-g_utils Fix MSVC compilation errors
…,-std-max,-std-clamp Fix damage indicator clamp type
@ozy24 ozy24 force-pushed the main branch 2 times, most recently from e51338e to c2adaf5 Compare December 27, 2025 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1 participant