You must log in or register to comment.
Clearly the QA should have ordered a &#%@*
With a side of ‘); DROP TABLE Orders; —
Ah, yes. Little Bobby Tables
I once had a QA engineer file a bug saying they couldn’t do negative testing since negative numbers were converted to positive.
The function took an unsigned integer. Took a lot of explaining to get them to understand that negative testing isn’t necessarily negative numbers.
I’d argue that the system shouldn’t automatically convert negative numbers to positive numbers. Instead, it should display an error to the user. Of course, that’s an abstract thought as I don’t know what was the system and who interacted with it.
He asked for -1 beers. He got interpreted as 264 - 1 beers (assuming 64-bit unsigned integers)