Today, I found a bug that I'm responsible for. It's in a validation routine written in #COBOL on an #IBM i. I checked the value of characters by checking if they are < "A" or > "Z". I didn't keep in mind that with #EBCDIC encoding they are arranged differently Thankfully the program hasn't been in use before last week and there haven't been any invalid data accepted yet.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!