diff options
Diffstat (limited to 'vendor')
-rw-r--r-- | vendor/k8s.io/apimachinery/pkg/api/resource/quantity_proto.go | 2 | ||||
-rw-r--r-- | vendor/modules.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/vendor/k8s.io/apimachinery/pkg/api/resource/quantity_proto.go b/vendor/k8s.io/apimachinery/pkg/api/resource/quantity_proto.go index f89ca163c..3e0cdb10d 100644 --- a/vendor/k8s.io/apimachinery/pkg/api/resource/quantity_proto.go +++ b/vendor/k8s.io/apimachinery/pkg/api/resource/quantity_proto.go @@ -166,7 +166,7 @@ func (m *Quantity) Unmarshal(data []byte) error { if err != nil { return err } - if skippy < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthGenerated } if (iNdEx + skippy) > l { diff --git a/vendor/modules.txt b/vendor/modules.txt index 2aa2e39fb..b3c90dd5b 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -782,7 +782,7 @@ gopkg.in/yaml.v3 # k8s.io/api v0.21.0 k8s.io/api/apps/v1 k8s.io/api/core/v1 -# k8s.io/apimachinery v0.21.0 +# k8s.io/apimachinery v0.21.1 k8s.io/apimachinery/pkg/api/resource k8s.io/apimachinery/pkg/apis/meta/v1 k8s.io/apimachinery/pkg/conversion |