Skip to content

Fix out of bounds error - #546

Open
fmayer wants to merge 1 commit into
landley:masterfrom
fmayer:master
Open

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

Conversation

@fmayer

@fmayer fmayer commented Apr 11, 2025

Copy link
Copy Markdown

This was fixed in the upstream kernel in 3ba41621156681afcdbcd624e3191cbc65eb94f4

This was fixed in the upstream kernel in 3ba41621156681afcdbcd624e3191cbc65eb94f4
@landley

landley commented Apr 13, 2025 via email

Copy link
Copy Markdown
Owner

@fmayer

fmayer commented Apr 14, 2025

Copy link
Copy Markdown
Author

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