Revert "heimdal: CVE-2022-41916: Check for overflow in _gsskrb5_get_mech()"

This was already applied by ed549cb0c5.

Repored by:	Gunther Nikl <gnikl@justmail.de>

This reverts commit 9286d46a79.
This commit is contained in:
Cy Schubert 2024-02-16 09:31:13 -08:00
parent fa4e425794
commit 5130b35ef5

View File

@ -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;