Re:This should never happen
by onetimePete on Friday April 01, 2016 @10:56AM
(#11405198)
Reminds me of a stack canarys, stuff you put on the feet off a stack and check with the scheduler.
Also to all those ready to do a checksum on a struct, rememember that structs are plattform dependant (padding bytes).
However this might not have caught the error condition described upthread. That condition might have overwritten data or moreData without touching s1 or s2.
Otherwise, great!