[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using free()d storage or: how not to submit mail



--- libc/mail.c.orig	Tue Jul 13 01:20:44 1993
+++ libc/mail.c	Tue Jul 13 01:21:08 1993
@@ -218,8 +218,8 @@
 		errno = eno;
 		return NULL;
 	}
-	mail_free(scratch);
 	(void) unlink(scratch);
+	mail_free(scratch);
 
 	/* Housekeeping */
 

-- 
UNTOLD WEALTH:
       What you left out on April 15th.
-- 
Matthias Urlichs -- urlichs@smurf.sub.org -- Phone: NONE; use email or lose.
Schleiermacherstrasse 12 -- 90491 Nuernberg -- Germany || Linux+Mac Consulting