Revert "heimdal: CVE-2022-41916: Check for overflow in _gsskrb5_get_mech()"
This was already applied byed549cb0c5. Repored by: Gunther Nikl <gnikl@justmail.de> This reverts commit9286d46a79.
This commit is contained in:
@@ -56,8 +56,6 @@ _gsskrb5_get_mech (const u_char *ptr,
|
||||
return -1;
|
||||
if (total_len < 1 + len_len + 1)
|
||||
return -1;
|
||||
if (total_len < 1 + len_len + 1)
|
||||
return -1;
|
||||
p += len_len;
|
||||
if (*p++ != 0x06)
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user