git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@54 77e5149b-7576-45b1-b177-96237e5ba77b
Nigel Horne authored on 2003/09/24 18:38:21... | ... |
@@ -1,7 +1,13 @@ |
1 |
+Wed Sep 24 10:37:10 BST 2003 (njh) |
|
2 |
+---------------------------------- |
|
3 |
+ |
|
4 |
+ * libclamav: fixed core dump when the plain text file contained just |
|
5 |
+ the text "begin <number>" |
|
6 |
+ |
|
1 | 7 |
Wed Sep 24 06:54:56 BST 2003 (njh) |
8 |
+--------------------------------- |
|
2 | 9 |
* clamav-milter: redirect stdin/stdout/stderr |
3 | 10 |
|
4 | 11 |
Sun Sep 21 22:03:13 CEST 2003 (tk) |
5 | 12 |
---------------------------------- |
6 | 13 |
* libclamav: enabled support for News messaged (thanks to |
... | ... |
@@ -849,8 +849,8 @@ decodeLine(const message *m, const char *line, unsigned char *ptr) |
849 | 849 |
break; |
850 | 850 |
|
851 | 851 |
case UUENCODE: |
852 |
- assert(*line != '\0'); |
|
853 |
- |
|
852 |
+ if(*line == '\0') |
|
853 |
+ break; |
|
854 | 854 |
if(strncasecmp(line, "begin ", 6) == 0) |
855 | 855 |
break; |
856 | 856 |
if(strcasecmp(line, "end") == 0) |