Skip to content
Snippets Groups Projects

Unset zstring if a preset value is used

Merged James R. requested to merge cvar-zstring-fix into next

Well, zstring and preset values can only coexist in a cvar with MIN, MAX and then some other values. If a value between MIN and MAX is used (inclusive), then the zstring is allocated. This could be bad when CV_LoadVars checks zstring to determine if the current value string was allocated.

EDIT: It seems this actually fixes #487 (closed).

Edited by James R.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading