Skip to content
This repository has been archived by the owner on Mar 8, 2024. It is now read-only.

Fix an off-by-one strncmp in gtk3_interface.c #33

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

Conversation

disconnect3d
Copy link

The "scrollbar_" is 10B and we compared only 9B (cutting of the _ char).

This was found with a "cstrnfinder" research and I haven't tested this change (more info https://twitter.com/disconnect3d_pl/status/1339757359896408065). Close this PR if this change is incorrect.

The `"scrollbar_"` is 10B and we compared only 9B (cutting of the `_` char).

This was found with a "cstrnfinder" research and I haven't tested this change (more info https://twitter.com/disconnect3d_pl/status/1339757359896408065). Close this PR if this change is incorrect.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant