]> The Tcpdump Group git mirrors - tcpdump/commit
Fix check of authentication algorithm.
authorGuy Harris <[email protected]>
Mon, 6 Jan 2020 01:49:42 +0000 (17:49 -0800)
committerGuy Harris <[email protected]>
Mon, 6 Jan 2020 01:49:42 +0000 (17:49 -0800)
commit011ae5541009975cf42b4c6d3fe12388f96dd1fb
treeafda440bc567ec58ee7c228212378208533bee8c
parent646a1135c48999b04c1063f6383c4d6e837376b3
Fix check of authentication algorithm.

If you split a string by overwriting the separator character with a NUL,
and you want to compare the first part with various values, use a
pointer to the beginning of the string, not to the NUL you just dropped
in.

This is a bug found while testing some cleanups for GitHub issue #814;
it's necessary for the cleanups to work.
print-esp.c