From: | ghudson@mit.edu |
Subject: | git commit |
Fix input length checking in SPNEGO DER decoding
In get_mech_set(), check the length before reading the first byte, and
decrease the length by the tag byte when reading and verifying the
sequence length.
In get_req_flags(), check the length before reading the first byte,
and check the context tag length after decoding it.
https://github.com/krb5/krb5/commit/64f4b75a22212681ca293f8f09ddd24b0244d5b4
Author: Greg Hudson <ghudson@mit.edu>
Commit: 64f4b75a22212681ca293f8f09ddd24b0244d5b4
Branch: master
src/lib/gssapi/spnego/spnego_mech.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)