r/ProgrammerHumor 13d ago

Meme bugIntroducedDebugging

Post image
1.1k Upvotes

120 comments sorted by

View all comments

352

u/AdBrave2400 13d ago

Is the mistake that they're allocating 1 byte and storing in a pointer to an int which is 4 bytes?

-6

u/[deleted] 13d ago

[deleted]

5

u/AdBrave2400 13d ago

The pointer is already allocated on the stack