Skip to content

Resolve buffer overflow crash when configuring System Menu and GIF controls

mazmazz requested to merge changecontrol-text-overflow-fix into master

This crash happened in OSX and Linux builds immediately upon attempting to config the System Menu and GIF controls.

The issue is that the program was trying to build the string,

Press a key for
Toggle GIF Recording
ESC to cancel

and the control name for Toggle GIF Recording overflowed the string buffer by 2 chars.

I increased that buffer to support up to a 32 character control name for that template.

Merge request reports