5 Dec
2018
5 Dec
'18
5:35 a.m.
On Tue, 2018-12-04 at 22:16 -0500, Eric Wittle wrote:
if (pStepBuff->fBufferLength > 4) { RDEBUG2("ELW: pStepBuff->fBufferLength > 4\n"); size_t len;
I suspect changing that from uint32_t to size_t has had the unintended consequences of making it a 64-bit integer on your platform, which breaks the (len == 40) comparison. Try changing "size_t len" to "uint32_t len" and see if that fixes it.
(0) mschap: ELW: len == 3978992058181353512
The lower 32 bits of this value are "40"... the rest is junk. -- Matthew