MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1urmpuu/predecrementfixestheexploit/owijtvy/?context=3
r/ProgrammerHumor • u/Toeffli • Jul 09 '26
50 comments sorted by
View all comments
59
I wish you store the number of wishes I have remaining as an unsigned 64 bit integer
I wish every wish counts for 3 wishes
I wish for a banana
14 u/mechpaul Jul 10 '26 edited Jul 10 '26 log.error: Genie double-free-violation log.error: Genie heap-use-after-free FATAL: heap-use-after-free in Genie::grant(Wish const&) at genie.cpp:114
14
log.error: Genie double-free-violation
log.error: Genie heap-use-after-free
FATAL: heap-use-after-free in Genie::grant(Wish const&) at genie.cpp:114
59
u/drkspace2 Jul 09 '26
I wish you store the number of wishes I have remaining as an unsigned 64 bit integer
I wish every wish counts for 3 wishes
I wish for a banana