Skip to content

Avoid overrunning the 256 icon memory buffer #491

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

segcore
Copy link
Contributor

@segcore segcore commented Jun 7, 2025

Avoid overrunning the end of the icon buffer (default 256 size) when printing labels with Icons.

Previously, if the user entered a value >255 (e.g. "#999#") the program would read invalid memory (causing a crash with ASAN enabled).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant