]> git.ipfire.org Git - thirdparty/krb5.git/commit
Add NegoEx assertion to squash defect
authorGreg Hudson <ghudson@mit.edu>
Mon, 9 Dec 2019 16:42:47 +0000 (11:42 -0500)
committerGreg Hudson <ghudson@mit.edu>
Sun, 5 Jan 2020 06:16:36 +0000 (01:16 -0500)
commit38151b3c1e69873122065e1f8351c026e1edc737
treeb4753bdfc64e1090707d4de4516c67df611f2367
parent82d7ffb07c81aefeabf67c7c066070efbc34400b
Add NegoEx assertion to squash defect

Coverity sees negoex_init() test whether input_token is null before
parsing messages, then dereference input_token in verify_checksum().
Of course verify_checksum() will not find a checksum message if no
messages were parsed.  Add an assert to squash the false positive
forward-null defect.
src/lib/gssapi/spnego/negoex_ctx.c