$Id$
*/
+#include "quakedef.h"
+
#include <string.h> /* XoXus: needed for memset call */
#include "mdfour.h"
{
uint32 M[16];
- if (n == 0) mdfour_tail(in, n);
+// start of edit by Forest 'LordHavoc' Hale
+// commented out to prevent crashing when length is 0
+// if (n == 0) mdfour_tail(in, n);
+// end of edit by Forest 'LordHavoc' Hale
m = md;