Skip to content

Check return value of sscanf to handle potential undefined behaviour in write_keymaps#147

Open
PwnVerse wants to merge 1 commit intorhboot:fedora-39from
PwnVerse:patch-write_keymaps
Open

Check return value of sscanf to handle potential undefined behaviour in write_keymaps#147
PwnVerse wants to merge 1 commit intorhboot:fedora-39from
PwnVerse:patch-write_keymaps

Conversation

@PwnVerse
Copy link

In write_keymaps function of grub-mklayout.c, handling sscanf return value is essential as line can come from malformed stdin FILE* in.

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