Skip to content

Make glGet state queries buffer-safe#825

Closed
SixSleepyAsh wants to merge 1 commit into
Overload-Technologies:mainfrom
SixSleepyAsh:fix/safe-glget-parameters
Closed

Make glGet state queries buffer-safe#825
SixSleepyAsh wants to merge 1 commit into
Overload-Technologies:mainfrom
SixSleepyAsh:fix/safe-glget-parameters

Conversation

@SixSleepyAsh

@SixSleepyAsh SixSleepyAsh commented Jun 17, 2026

Copy link
Copy Markdown

Summary

  • Replaces raw glGet* calls with buffer-safe variants that avoid undefined behavior on mismatched return types
  • Ensures all state queries write into correctly-sized buffers

Fixes #644

@adriengivry

Copy link
Copy Markdown
Member

This will already be fixed by #824

Overload isn't accepting any changes to its HAL at the moment.

Thanks for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Unsafe GetInt, GetBool, GetFloat, and GetDouble leading to potential buffer overruns

2 participants