Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix null dereference and buffer overflow #536

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

Conversation

CreativeNameHUH
Copy link

@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
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
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