Evil Bug
Posted in Tech
Last dog watch, 8 bells (8:21 pm)

Today I helped track down an evil bug in some software. We have an object that streams information out in newline-delimited text format which is then encrypted and sent to another program for decryption and analysis. The results are re-encrypted and returned. In a rare case, the information being returned was garbage. It turns out that an error message contained two newline characters which threw off the entire format. It was so obscure it took a couple of hours for us to find the problem.

Leave a Comment »