MPS issue job003990

TitleMPS doesn't notice if clients write scanners that don't check error codes
Assigned userRichard Brooksby
DescriptionIf the client writes a scanner that ignores the result code of MPS_FIX2 then the MPS might not detect low memory conditions properly and cause crashes in rare circumstances.
AnalysisWe could store a result code in the ScanStateStruct and check it at the end of the scan. We could skip fixes if it is set. We could occasionally deliberately return secret codes to abort the scan and (a) check it was aborted and (b) restart the (supposedly idempotent) scan.
How foundinspection
Created byRichard Brooksby
Created on2016-03-18 17:31:52
Last modified byGareth Rees
Last modified on2018-06-27 13:05:13
History2016-03-18 RB Created.