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

libjpeg-turbo: enable i386 architecture and improve fuzzer regarding msan #2680

Merged
merged 2 commits into from
Aug 12, 2019

Conversation

rouault
Copy link
Contributor

@rouault rouault commented Aug 10, 2019

No description provided.

@inferno-chromium
Copy link
Collaborator

lets wait on monday for @jonathanmetzman to take a look.

tjDecompress2(
jpegDecompressor, data, size, buf.get(), width, 0, height, TJPF_RGB, 0);

// For memory sanitizer, test each output byte
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is indeed bad that MSAN doesn't complain about this automatically (google/sanitizers#883)
That being said, you want __msan_check_mem_is_initialized().

Copy link
Contributor

@jonathanmetzman jonathanmetzman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm fine with the i386 changes.
I recommend making the MSAN change as @LebedevRI suggested

@jonathanmetzman jonathanmetzman merged commit 5edcd42 into google:master Aug 12, 2019
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.

4 participants