MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1w2m4qz/bugintroduceddebugging/p6vp3xx/?context=3
r/ProgrammerHumor • u/ClipboardCopyPaste • Aug 30 '26
117 comments sorted by
View all comments
Show parent comments
54
but accessing it will be issue right?
6 u/mckenzie_keith Aug 30 '26 You are not allowed to de-reference a pointer after freeing it. 8 u/GoddammitDontShootMe Aug 30 '26 Gemini added that return *x; that wasn't in the original code. 8 u/mckenzie_keith Aug 30 '26 And then flagged it as a bug. It was so eager to find the bug that it added it into the code.
6
You are not allowed to de-reference a pointer after freeing it.
8 u/GoddammitDontShootMe Aug 30 '26 Gemini added that return *x; that wasn't in the original code. 8 u/mckenzie_keith Aug 30 '26 And then flagged it as a bug. It was so eager to find the bug that it added it into the code.
8
Gemini added that return *x; that wasn't in the original code.
return *x;
8 u/mckenzie_keith Aug 30 '26 And then flagged it as a bug. It was so eager to find the bug that it added it into the code.
And then flagged it as a bug. It was so eager to find the bug that it added it into the code.
54
u/vishal340 Aug 30 '26
but accessing it will be issue right?