Is this a bug or not ?
--- libclamav/message.c Sun Apr 24 12:01:15 2005
+++ libclamav/message.c Wed May 11 11:37:57 2005
@@ -850,9 +850,10 @@
m->body_last = m->body_first = (text *)cli_malloc(sizeof(text));
else {
assert(m->body_last != NULL);
- if((data == NULL) && (m->body_last->t_line == NULL))
+ if((data == NULL) && (m->body_last->t_line == NULL)) {
/* don't save two blank lines in sucession */
return 1;
+ }
m->body_last->t_next = (text *)cli_malloc(sizeof(text)); if(m->body_last->t_next == NULL) { _______________________________________________ http://lurker.clamav.net/list/clamav-devel.html