Nothing to do with defense, but once I had to process text files written by humans, and it was impossible to make them use correct characters.
I had to read the text files with regular expressions to read letters "o" mixed with zeroes, tabulations Mixed with spaces , "." Confused with "," as decimal separator, different encodings sent by people that didn't even knew what an encoding is, and always there was some innovation that broke the code.
I patched for everything, but when left, I knew they would create new ways to break the files.