4 ms·
So, the system had been accepting malformed messages that were too long? Did the cli tool get fixed and the system get better sanity checks on incoming message
by KMag 3y ago
So, the system had been accepting malformed messages that were too long? Did the cli tool get fixed and the system get better sanity checks on incoming messages?
- mianos 3y agoThe command line tool generated a message using the old format, it was one byte short (missing the 'withdraw on suspend' flag). By the time the message got to the matching engine, the engine looked at the byte on the end of the withdraw message and it randomly happened to be true. The fix, at the time, was to add a 'N' to the end of the message the command line tool generated. Later I re-wrote everything to use a compiler generated message encoder and decoder, SNACC ASN.1 (Something like protobuffers, as invented again by Google, which was also invented the first time by Sun as XDR/RPC, that was also invented for the first time as CORBA. I think MS invented it as well for COM).