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

cwebp creates 0-byte output file upon bad input #48

Closed
GoogleCodeExporter opened this issue Sep 22, 2015 · 2 comments
Closed

cwebp creates 0-byte output file upon bad input #48

GoogleCodeExporter opened this issue Sep 22, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

Example:

   cwebp bad.png -o foo.webp

where 'bad.png' is an erroneous file (doesn't exist, isn't PNG, etc.) 

One shouldn't create a foo.webp empty file
Instead: foo.webp is created and has a size of 0.

Original issue reported on code.google.com by pascal.m...@gmail.com on 25 Feb 2011 at 1:14

@GoogleCodeExporter
Copy link
Author

fixed by https://review.webmproject.org/#change,1817

Original comment by s...@google.com on 25 Feb 2011 at 8:09

  • Changed state: Fixed

@GoogleCodeExporter
Copy link
Author

http://www.codingslover.com/2015/07/how-to-create-webp-image-in-php.html

Original comment by elangova...@gmail.com on 16 Jul 2015 at 6:28

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