bugfix: heimdal interaction, check length
authorPhil Pennock <pdp@exim.org>
Mon, 9 Apr 2018 21:49:57 +0000 (17:49 -0400)
committerPhil Pennock <pdp@exim.org>
Mon, 9 Apr 2018 21:49:57 +0000 (17:49 -0400)
commit5e13fc5671fec5a1415b8d82a6344ceb71942478
tree522a631e901cebdefcb2ffc7db9d2c232d0805ab
parent0c2250d167e858666f6ab372fe34dbd9e682932d
bugfix: heimdal interaction, check length

clang noted that taking the address of a struct member will never be 0,
so checking against 0 was wrong.  It was a `.length` member.  I've
compiled RC4 with this change and deployed it to my box and I can still
authenticate fine.
src/src/auths/heimdal_gssapi.c