Skip to content

Fix out of bounds error#546

Open
fmayer wants to merge 1 commit intolandley:masterfrom
fmayer:master
Open

Fix out of bounds error#546
fmayer wants to merge 1 commit intolandley:masterfrom
fmayer:master

Conversation

@fmayer
Copy link

@fmayer fmayer commented Apr 11, 2025

This was fixed in the upstream kernel in 3ba41621156681afcdbcd624e3191cbc65eb94f4

This was fixed in the upstream kernel in 3ba41621156681afcdbcd624e3191cbc65eb94f4
@landley
Copy link
Owner

landley commented Apr 13, 2025 via email

@fmayer
Copy link
Author

fmayer commented Apr 14, 2025

I ran into this trying to build something, yes. For now I have just disabled array-bounds sanitizer on this file..

I agree that this is not a really a big security problem, but it could theoretically lead to this branch being executed by accident (if there happens to be a '?' at line[-1]), so I thought I'd fix it.

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.

2 participants