Quote:
Originally Posted by archaeolept
interesting, why is that? I figured it was just those dirty Pan fingernails getting earth and filth all over the message 
|
The game formats messages that are displayed on the screen using one of the printf calls. It should pass ( ..., "%s", message ) for user-entered messages. But instead it passes ( ..., message ). So if 'message' contains printf formatting, it will expect additional arguments. And if the printf code is '%s' (spaces between the '%' and 's' don't matter), it will treat whatever happens to be on the stack as an address to read a string from. IF this address is invalid, that can cause a crash.