MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1w2m4qz/bugintroduceddebugging/p6tndyu/?context=3
r/ProgrammerHumor • u/ClipboardCopyPaste • 2d ago
120 comments sorted by
View all comments
347
Is the mistake that they're allocating 1 byte and storing in a pointer to an int which is 4 bytes?
-5 u/[deleted] 2d ago [deleted] 4 u/AdBrave2400 2d ago The pointer is already allocated on the stack
-5
[deleted]
4 u/AdBrave2400 2d ago The pointer is already allocated on the stack
4
The pointer is already allocated on the stack
347
u/AdBrave2400 2d ago
Is the mistake that they're allocating 1 byte and storing in a pointer to an int which is 4 bytes?