GAHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH
-
-
3/ ncurses printw() is like printf() in that it takes a FORMAT string. The "%" in the string I was printing was effectively an escape character, and then printw() was looking at the next arg (non existent) to find the variable to be subbed in, and was grabbing some stack val
Show this thread -
4/ and so I was BOTH getting ugly printouts AND - on occasion - memory corruption I repeathttps://twitter.com/MorlockP/status/1108410606556798978 …
Show this thread -
5/ SHOW ME ON THE MEMORY MODEL WHERE THE BAD PROGRAMMER TOUCHED HIMSELFhttps://twitter.com/chrylis/status/1108411912885280770 …
Show this thread -
7/ hahahah you sweet summer child I am working in an application that has its OWN memory model, and we're catching segv to do magic with it
Show this thread
End of conversation
New conversation -
-
-
Is that better or worse than if the gold brick were wrapped in a slice of lemon? Bc I've heard that's about the best thing in existence.
- Show replies
New conversation -
-
-
Uh-oh, did you just printf-inject yourself?
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.