mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-05-28 04:04:39 -04:00
Merge pull request #101327 from joelsmith/automated-cherry-pick-of-#101306-upstream-release-1.19
[1.19] Automated cherry pick of #101306: Additional CVE-2021-3121 fix
This commit is contained in:
commit
3e8d456f2b
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue