Skip to content

Fix null dereference and buffer overflow #536

Open
CreativeNameHUH wants to merge 1 commit intoSamsung:masterfrom
CreativeNameHUH:svace_fix
Open

Fix null dereference and buffer overflow #536
CreativeNameHUH wants to merge 1 commit intoSamsung:masterfrom
CreativeNameHUH:svace_fix

Conversation

@CreativeNameHUH
Copy link
Copy Markdown

@CreativeNameHUH CreativeNameHUH commented Jan 12, 2023

Added null checks for stbi__jpeg pointers in stbi__jpeg_load and stbi__jpeg_test functions.

Added 17th element to stbi__jbias array in function stbi__extend_recive parameter n could be 16 causing a buffer overflow on return k + (stbi__jbias[n] & sgn)

Defects: 508181, 514886, 508182
@hermet
Copy link
Copy Markdown
Member

hermet commented Jan 12, 2023

Nobody can't access svace outside of samsung :)

@CreativeNameHUH CreativeNameHUH changed the title Fix Svace defects Fix null dereference and buffer overflow Jan 12, 2023
@CreativeNameHUH
Copy link
Copy Markdown
Author

Nobody can't access svace outside of samsung :)

Thank you, I've updated the description and the title :)

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