Fix for a signing bug when the mid wraps.
authorJeremy Allison <jra@samba.org>
Sat, 17 Jan 2004 00:30:28 +0000 (00:30 +0000)
committerJeremy Allison <jra@samba.org>
Sat, 17 Jan 2004 00:30:28 +0000 (00:30 +0000)
commitb84d249e67315c153e0aa3c5c9adfcf6ca008f97
tree985eb56ca1aa1def57c1e4429761a52f335fcbc2
parentf9664523282f3e92ff4d7641aded46fdf794aa5b
Fix for a signing bug when the mid wraps.
Found by Fran Fabrizio <fran@cis.uab.edu>.
Add to the *start* of the list not the end of the list.
This ensures that the *last* send sequence with this mid
is returned by preference.
This can happen if the mid wraps and one of the early
mid numbers didn't get a reply and is still lurking on
the list.
Jeremy.
source/libsmb/smb_signing.c