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

Check all the mallocs #1715

Closed
wiredfool opened this issue Feb 4, 2016 · 0 comments
Closed

Check all the mallocs #1715

wiredfool opened this issue Feb 4, 2016 · 0 comments

Comments

@wiredfool
Copy link
Member

We should check all mallocs in the code base for:

  • parameters should be a size_t /py_size_t
  • any parameter that is potentially attacker supplied should be sanatized. If there is a problem, return with an error -- either ImagingError_ValueError or a memory error, as appropriate.
  • See if calloc is a reasonable substitution.
  • make sure that the return value is checked for success.
wiredfool added a commit to wiredfool/Pillow that referenced this issue Mar 16, 2016
wiredfool added a commit to wiredfool/Pillow that referenced this issue Mar 18, 2016
wiredfool added a commit to wiredfool/Pillow that referenced this issue Mar 18, 2016
wiredfool added a commit to wiredfool/Pillow that referenced this issue Mar 18, 2016
wiredfool added a commit to wiredfool/Pillow that referenced this issue Mar 18, 2016
wiredfool added a commit to wiredfool/Pillow that referenced this issue Mar 18, 2016
wiredfool added a commit to wiredfool/Pillow that referenced this issue Apr 1, 2016
wiredfool added a commit to wiredfool/Pillow that referenced this issue Apr 1, 2016
wiredfool added a commit to wiredfool/Pillow that referenced this issue Apr 1, 2016
wiredfool added a commit to wiredfool/Pillow that referenced this issue Apr 1, 2016
wiredfool added a commit to wiredfool/Pillow that referenced this issue Apr 1, 2016
wiredfool added a commit to wiredfool/Pillow that referenced this issue Apr 15, 2016
wiredfool added a commit to wiredfool/Pillow that referenced this issue Apr 15, 2016
wiredfool added a commit to wiredfool/Pillow that referenced this issue Apr 19, 2016
wiredfool added a commit to wiredfool/Pillow that referenced this issue Apr 19, 2016
wiredfool added a commit to wiredfool/Pillow that referenced this issue May 24, 2016
wiredfool added a commit to wiredfool/Pillow that referenced this issue May 24, 2016
wiredfool added a commit to wiredfool/Pillow that referenced this issue May 30, 2016
wiredfool added a commit to wiredfool/Pillow that referenced this issue May 30, 2016
wiredfool added a commit to wiredfool/Pillow that referenced this issue Jun 8, 2016
wiredfool added a commit to wiredfool/Pillow that referenced this issue Jun 8, 2016
Fahad-Alsaidi pushed a commit to Fahad-Alsaidi/Pillow that referenced this issue Dec 13, 2016
Fahad-Alsaidi pushed a commit to Fahad-Alsaidi/Pillow that referenced this issue Dec 13, 2016
Fahad-Alsaidi pushed a commit to Fahad-Alsaidi/Pillow that referenced this issue Dec 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant