Md5sum with bugs ready (HELP!!!)

It seems that there is a very strange bug in md5sum.h, which will cause ACCESS_VIOLATION after the main program
EXITS ( Yes, the error appears when the program exits- i.e. after `return 0` )
So, I need help!!!!