Updated transitive dependencies
This commit is contained in:
parent
787d3880ec
commit
adaa7378ff
2
go.mod
2
go.mod
|
@ -10,7 +10,7 @@ require (
|
||||||
github.com/pierrec/lz4/v4 v4.1.19
|
github.com/pierrec/lz4/v4 v4.1.19
|
||||||
github.com/spf13/cobra v1.8.0
|
github.com/spf13/cobra v1.8.0
|
||||||
github.com/yosssi/gohtml v0.0.0-20201013000340-ee4748c638f4
|
github.com/yosssi/gohtml v0.0.0-20201013000340-ee4748c638f4
|
||||||
golang.org/x/image v0.14.0
|
golang.org/x/image v0.15.0
|
||||||
)
|
)
|
||||||
|
|
||||||
require (
|
require (
|
||||||
|
|
4
go.sum
4
go.sum
|
@ -26,8 +26,8 @@ github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
|
||||||
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
|
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
|
||||||
github.com/yosssi/gohtml v0.0.0-20201013000340-ee4748c638f4 h1:0sw0nJM544SpsihWx1bkXdYLQDlzRflMgFJQ4Yih9ts=
|
github.com/yosssi/gohtml v0.0.0-20201013000340-ee4748c638f4 h1:0sw0nJM544SpsihWx1bkXdYLQDlzRflMgFJQ4Yih9ts=
|
||||||
github.com/yosssi/gohtml v0.0.0-20201013000340-ee4748c638f4/go.mod h1:+ccdNT0xMY1dtc5XBxumbYfOUhmduiGudqaDgD2rVRE=
|
github.com/yosssi/gohtml v0.0.0-20201013000340-ee4748c638f4/go.mod h1:+ccdNT0xMY1dtc5XBxumbYfOUhmduiGudqaDgD2rVRE=
|
||||||
golang.org/x/image v0.14.0 h1:tNgSxAFe3jC4uYqvZdTr84SZoM1KfwdC9SKIFrLjFn4=
|
golang.org/x/image v0.15.0 h1:kOELfmgrmJlw4Cdb7g/QGuB3CvDrXbqEIww/pNtNBm8=
|
||||||
golang.org/x/image v0.14.0/go.mod h1:HUYqC05R2ZcZ3ejNQsIHQDQiwWM4JBqmm6MKANTp4LE=
|
golang.org/x/image v0.15.0/go.mod h1:HUYqC05R2ZcZ3ejNQsIHQDQiwWM4JBqmm6MKANTp4LE=
|
||||||
golang.org/x/net v0.19.0 h1:zTwKpTd2XuCqf8huc7Fo2iSy+4RHPd10s4KzeTnVr1c=
|
golang.org/x/net v0.19.0 h1:zTwKpTd2XuCqf8huc7Fo2iSy+4RHPd10s4KzeTnVr1c=
|
||||||
golang.org/x/net v0.19.0/go.mod h1:CfAk/cbD4CthTvqiEl8NpboMuiuOYsAr/7NOjZJtv1U=
|
golang.org/x/net v0.19.0/go.mod h1:CfAk/cbD4CthTvqiEl8NpboMuiuOYsAr/7NOjZJtv1U=
|
||||||
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
||||||
|
|
|
@ -39,6 +39,7 @@ func decode(r io.Reader, configOnly bool) (image.Image, image.Config, error) {
|
||||||
alpha []byte
|
alpha []byte
|
||||||
alphaStride int
|
alphaStride int
|
||||||
wantAlpha bool
|
wantAlpha bool
|
||||||
|
seenVP8X bool
|
||||||
widthMinusOne uint32
|
widthMinusOne uint32
|
||||||
heightMinusOne uint32
|
heightMinusOne uint32
|
||||||
buf [10]byte
|
buf [10]byte
|
||||||
|
@ -113,6 +114,10 @@ func decode(r io.Reader, configOnly bool) (image.Image, image.Config, error) {
|
||||||
return m, image.Config{}, err
|
return m, image.Config{}, err
|
||||||
|
|
||||||
case fccVP8X:
|
case fccVP8X:
|
||||||
|
if seenVP8X {
|
||||||
|
return nil, image.Config{}, errInvalidFormat
|
||||||
|
}
|
||||||
|
seenVP8X = true
|
||||||
if chunkLen != 10 {
|
if chunkLen != 10 {
|
||||||
return nil, image.Config{}, errInvalidFormat
|
return nil, image.Config{}, errInvalidFormat
|
||||||
}
|
}
|
||||||
|
|
|
@ -42,7 +42,7 @@ github.com/spf13/pflag
|
||||||
# github.com/yosssi/gohtml v0.0.0-20201013000340-ee4748c638f4
|
# github.com/yosssi/gohtml v0.0.0-20201013000340-ee4748c638f4
|
||||||
## explicit
|
## explicit
|
||||||
github.com/yosssi/gohtml
|
github.com/yosssi/gohtml
|
||||||
# golang.org/x/image v0.14.0
|
# golang.org/x/image v0.15.0
|
||||||
## explicit; go 1.18
|
## explicit; go 1.18
|
||||||
golang.org/x/image/bmp
|
golang.org/x/image/bmp
|
||||||
golang.org/x/image/riff
|
golang.org/x/image/riff
|
||||||
|
|
Loading…
Reference in New Issue