-
Notifications
You must be signed in to change notification settings - Fork 18k
x/image/riff: (*Reader) Next() drops io.ReadFull error #16236
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
Labels
Milestone
Comments
CL https://golang.org/cl/24638 mentions this issue. |
mrhyperbit23z0d
added a commit
to mrhyperbit23z0d/bhegde8
that referenced
this issue
Jun 6, 2022
Fixes golang/go#16236 Change-Id: I0e524054d0702a6487ff47d86aed6bf58f4ba3f2 Reviewed-on: https://go-review.googlesource.com/24638 Reviewed-by: Brad Fitzpatrick <[email protected]>
GalaxyForcew
added a commit
to GalaxyForcew/A1bisshy
that referenced
this issue
Jun 6, 2022
Fixes golang/go#16236 Change-Id: I0e524054d0702a6487ff47d86aed6bf58f4ba3f2 Reviewed-on: https://go-review.googlesource.com/24638 Reviewed-by: Brad Fitzpatrick <[email protected]>
yi-ge3
added a commit
to yi-ge3/wislie
that referenced
this issue
Jun 6, 2022
Fixes golang/go#16236 Change-Id: I0e524054d0702a6487ff47d86aed6bf58f4ba3f2 Reviewed-on: https://go-review.googlesource.com/24638 Reviewed-by: Brad Fitzpatrick <[email protected]>
balloontmz6
added a commit
to balloontmz6/Likewise42l
that referenced
this issue
Jun 6, 2022
Fixes golang/go#16236 Change-Id: I0e524054d0702a6487ff47d86aed6bf58f4ba3f2 Reviewed-on: https://go-review.googlesource.com/24638 Reviewed-by: Brad Fitzpatrick <[email protected]>
snapbakkhfbav
added a commit
to snapbakkhfbav/SayedBaladohr
that referenced
this issue
Oct 6, 2022
Fixes golang/go#16236 Change-Id: I0e524054d0702a6487ff47d86aed6bf58f4ba3f2 Reviewed-on: https://go-review.googlesource.com/24638 Reviewed-by: Brad Fitzpatrick <[email protected]>
MiderWong5ddop
added a commit
to MiderWong5ddop/sidie88f
that referenced
this issue
Oct 7, 2022
Fixes golang/go#16236 Change-Id: I0e524054d0702a6487ff47d86aed6bf58f4ba3f2 Reviewed-on: https://go-review.googlesource.com/24638 Reviewed-by: Brad Fitzpatrick <[email protected]>
rorypeckwnt4v
added a commit
to rorypeckwnt4v/LearnByBhanuPrataph
that referenced
this issue
Oct 7, 2022
Fixes golang/go#16236 Change-Id: I0e524054d0702a6487ff47d86aed6bf58f4ba3f2 Reviewed-on: https://go-review.googlesource.com/24638 Reviewed-by: Brad Fitzpatrick <[email protected]>
egorovcharenko9
added a commit
to egorovcharenko9/RiceBIOC470z
that referenced
this issue
Oct 7, 2022
Fixes golang/go#16236 Change-Id: I0e524054d0702a6487ff47d86aed6bf58f4ba3f2 Reviewed-on: https://go-review.googlesource.com/24638 Reviewed-by: Brad Fitzpatrick <[email protected]>
RafayGhafoorf
added a commit
to RafayGhafoorf/dustinsand8
that referenced
this issue
Oct 7, 2022
Fixes golang/go#16236 Change-Id: I0e524054d0702a6487ff47d86aed6bf58f4ba3f2 Reviewed-on: https://go-review.googlesource.com/24638 Reviewed-by: Brad Fitzpatrick <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm getting panics and memory issues using golang.org/x/image/riff package with malformed riff files.
E.g. https://play.golang.org/p/cCN1VQ4Dz2
These seem to be due to an IO error being dropped in the (*Reader) Next() method.
From line 132 in https://github.com/golang/image/blob/master/riff/riff.go:
The err var in the first line of that snippet is a named return value but it is never used/ returned by the method.
Can fix by assigning the io.ReadFull error to z.err instead:
as at golang/image@ 8550bb5
The text was updated successfully, but these errors were encountered: