diff options
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/ChangeLog | 4 | ||||
| -rw-r--r-- | lib-src/fakemail.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index a38c0cb6770..31f69a5bcd9 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2006-04-29 Richard Stallman <rms@gnu.org> | ||
| 2 | |||
| 3 | * fakemail.c (read_header): Give fatal error if input has no header. | ||
| 4 | |||
| 1 | 2006-04-02 Paul Eggert <eggert@cs.ucla.edu> | 5 | 2006-04-02 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 6 | ||
| 3 | * b2m.c (main): Don't include <limits.h>. | 7 | * b2m.c (main): Don't include <limits.h>. |
diff --git a/lib-src/fakemail.c b/lib-src/fakemail.c index 6b8634f34ab..30d39db533e 100644 --- a/lib-src/fakemail.c +++ b/lib-src/fakemail.c | |||
| @@ -694,6 +694,8 @@ read_header () | |||
| 694 | 694 | ||
| 695 | } while (true); | 695 | } while (true); |
| 696 | 696 | ||
| 697 | if (! the_header) | ||
| 698 | fatal ("input message has no header"); | ||
| 697 | return the_header->next; | 699 | return the_header->next; |
| 698 | } | 700 | } |
| 699 | 701 | ||