When you pick the wrong column for your primary key.
User with this age already exists
Submitted 1 year ago by genfood@feddit.de to programmer_humor@programming.dev
https://i.imgur.com/6WztUZK.png
Comments
MostlyBlindGamer@rblind.com 1 year ago
paddirn@lemmy.world 1 year ago
Incredibly exclusive userbase, less than 100 users ever at any one time.
FaceDeer@kbin.social 1 year ago
If I encountered a system that badly designed, I would check to see if it takes non-integer ages and maybe get in that way.
CanadaPlus@lemmy.sdf.org 1 year ago
Failing that, there’s also unreasonably large numbers and negative numbers.
Beanie@programming.dev 1 year ago
Why stop there? How about a lil’ white hat hacking with SQL injection :)
henfredemars@infosec.pub 1 year ago
What happens when a user grows a year older?
MajorHavoc@lemmy.world 1 year ago
Every other user will also have grown a year older, so it will be fine.
IronCorgi@kbin.social 1 year ago
A newborn user can register?
Speiser0@feddit.de 1 year ago
Enter NaN. Or else your age is just a number.
Selmafudd@lemmy.world 1 year ago
17.1
jameridev@programming.dev 1 year ago
…and don’t forget the matches…
intelati@programming.dev 1 year ago
xkcd.com/1700/
Image
21Cabbage@lemmynsfw.com 1 year ago
Well I just got a great idea for next time I need to change a password.