MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerAnimemes/comments/doi28a/uh_oh/f5ptdom/?context=3
r/ProgrammerAnimemes • u/[deleted] • Oct 29 '19
[deleted] — view deleted post
30 comments sorted by
View all comments
Show parent comment
3
Bug in the compiler where it accidentally overlays 0x01D6 onto the line count due to a buffer overflow.
I have done it with my own code with a string that wasn’t null terminated, an array of pointers, and using strcpy instead of strncpy.
Rebooted and the error went away mysteriously, until I ran the app again.
Probably can’t happen in modern OSs probably
View all comments
Show parent comment
3
u/[deleted] Oct 29 '19 edited Oct 29 '19
Bug in the compiler where it accidentally overlays 0x01D6 onto the line count due to a buffer overflow.
I have done it with my own code with a string that wasn’t null terminated, an array of pointers, and using strcpy instead of strncpy.
Rebooted and the error went away mysteriously, until I ran the app again.
Probably can’t happen in modern OSs probably