-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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
x/image/tiff: integer divide by zero #10393
Labels
Milestone
Comments
Sent http://golang.org/cl/9182. The offending data has zero ImageWidth, which causes the panic. The data also has an IFD where tags are not sorted in ascending order. According to section 2 of the TIFF spec this should not be supported. Should I file an issue? |
Yes, please file an issue. |
CC'ing @bsiegert |
chai2010
added a commit
to chai2010/tiff
that referenced
this issue
Apr 28, 2015
mrhyperbit23z0d
added a commit
to mrhyperbit23z0d/bhegde8
that referenced
this issue
Jun 6, 2022
Return a zero width or zero height image of the appropriate type. Fixes golang/go#10393. Change-Id: I3aa7b6125447726600fb072ce1e8682373ce2a57 Reviewed-on: https://go-review.googlesource.com/9182 Reviewed-by: Nigel Tao <[email protected]>
GalaxyForcew
added a commit
to GalaxyForcew/A1bisshy
that referenced
this issue
Jun 6, 2022
Return a zero width or zero height image of the appropriate type. Fixes golang/go#10393. Change-Id: I3aa7b6125447726600fb072ce1e8682373ce2a57 Reviewed-on: https://go-review.googlesource.com/9182 Reviewed-by: Nigel Tao <[email protected]>
yi-ge3
added a commit
to yi-ge3/wislie
that referenced
this issue
Jun 6, 2022
Return a zero width or zero height image of the appropriate type. Fixes golang/go#10393. Change-Id: I3aa7b6125447726600fb072ce1e8682373ce2a57 Reviewed-on: https://go-review.googlesource.com/9182 Reviewed-by: Nigel Tao <[email protected]>
balloontmz6
added a commit
to balloontmz6/Likewise42l
that referenced
this issue
Jun 6, 2022
Return a zero width or zero height image of the appropriate type. Fixes golang/go#10393. Change-Id: I3aa7b6125447726600fb072ce1e8682373ce2a57 Reviewed-on: https://go-review.googlesource.com/9182 Reviewed-by: Nigel Tao <[email protected]>
snapbakkhfbav
added a commit
to snapbakkhfbav/SayedBaladohr
that referenced
this issue
Oct 6, 2022
Return a zero width or zero height image of the appropriate type. Fixes golang/go#10393. Change-Id: I3aa7b6125447726600fb072ce1e8682373ce2a57 Reviewed-on: https://go-review.googlesource.com/9182 Reviewed-by: Nigel Tao <[email protected]>
MiderWong5ddop
added a commit
to MiderWong5ddop/sidie88f
that referenced
this issue
Oct 7, 2022
Return a zero width or zero height image of the appropriate type. Fixes golang/go#10393. Change-Id: I3aa7b6125447726600fb072ce1e8682373ce2a57 Reviewed-on: https://go-review.googlesource.com/9182 Reviewed-by: Nigel Tao <[email protected]>
rorypeckwnt4v
added a commit
to rorypeckwnt4v/LearnByBhanuPrataph
that referenced
this issue
Oct 7, 2022
Return a zero width or zero height image of the appropriate type. Fixes golang/go#10393. Change-Id: I3aa7b6125447726600fb072ce1e8682373ce2a57 Reviewed-on: https://go-review.googlesource.com/9182 Reviewed-by: Nigel Tao <[email protected]>
egorovcharenko9
added a commit
to egorovcharenko9/RiceBIOC470z
that referenced
this issue
Oct 7, 2022
Return a zero width or zero height image of the appropriate type. Fixes golang/go#10393. Change-Id: I3aa7b6125447726600fb072ce1e8682373ce2a57 Reviewed-on: https://go-review.googlesource.com/9182 Reviewed-by: Nigel Tao <[email protected]>
RafayGhafoorf
added a commit
to RafayGhafoorf/dustinsand8
that referenced
this issue
Oct 7, 2022
Return a zero width or zero height image of the appropriate type. Fixes golang/go#10393. Change-Id: I3aa7b6125447726600fb072ce1e8682373ce2a57 Reviewed-on: https://go-review.googlesource.com/9182 Reviewed-by: Nigel Tao <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Run the following program on the following input:
https://drive.google.com/file/d/0B20Uwp8Hs1oCNkpVc2VEdDE0RmM/view?usp=sharing
It crashes with:
I am on commit 65a798f031fd31a65574938bed2ec44c2bcba496
The text was updated successfully, but these errors were encountered: