diff lib-src/fakemail.c @ 70278:8e7233f487a3

(read_header): Give fatal error if input has no header.
author Richard M. Stallman <rms@gnu.org>
date Sat, 29 Apr 2006 18:52:19 +0000
parents 1e68e7f3b824
children ca1a855f01ae 2ecafc6d5db7
line wrap: on
line diff
--- a/lib-src/fakemail.c	Sat Apr 29 15:58:42 2006 +0000
+++ b/lib-src/fakemail.c	Sat Apr 29 18:52:19 2006 +0000
@@ -694,6 +694,8 @@
 
     } while (true);
 
+  if (! the_header)
+    fatal ("input message has no header");
   return the_header->next;
 }