baadf00d!

Came across this while debugging a program today in Eclipse:

0xbaadf00d

0xBAADF00D : Used by Microsoft‘s LocalAlloc(LMEM_FIXED) to mark uninitialised allocated heap memory

(http://en.wikipedia.org/wiki/Magic_number_(programming)#Magic_debug_values)

…I very obviously forgot to initialize one of my variables. ;-)

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>