git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@1026 77e5149b-7576-45b1-b177-96237e5ba77b
Nigel Horne authored on 2004/10/20 21:24:38... | ... |
@@ -1,7 +1,11 @@ |
1 |
+Wed Oct 20 13:23:33 BST 2004 (njh) |
|
2 |
+---------------------------------- |
|
3 |
+ * libclamav/untar.c: Print warning message about unsopported (yet) formats |
|
4 |
+ |
|
1 | 5 |
Wed Oct 20 11:37:40 BST 2004 (njh) |
2 | 6 |
---------------------------------- |
3 | 7 |
* libclamav/mbox.c: PARTIAL MODE ONLY: fixed possible stack corruption |
4 |
- under Solaris, patch from Andy Fiddaman |
|
8 |
+ under Solaris, patch from Andy Fiddaman |
|
5 | 9 |
<clam@fiddaman.net> |
6 | 10 |
|
7 | 11 |
Tue Oct 19 14:56:27 BST 2004 (njh) |
... | ... |
@@ -21,6 +21,9 @@ |
21 | 21 |
* |
22 | 22 |
* Change History: |
23 | 23 |
* $Log: untar.c,v $ |
24 |
+ * Revision 1.16 2004/10/20 12:21:11 nigelhorne |
|
25 |
+ * Print warning message about LongLink |
|
26 |
+ * |
|
24 | 27 |
* Revision 1.15 2004/10/16 16:08:46 nigelhorne |
25 | 28 |
* Handle empty files in the middle of archives |
26 | 29 |
* |
... | ... |
@@ -67,7 +70,7 @@ |
67 | 67 |
* First draft |
68 | 68 |
* |
69 | 69 |
*/ |
70 |
-static char const rcsid[] = "$Id: untar.c,v 1.15 2004/10/16 16:08:46 nigelhorne Exp $"; |
|
70 |
+static char const rcsid[] = "$Id: untar.c,v 1.16 2004/10/20 12:21:11 nigelhorne Exp $"; |
|
71 | 71 |
|
72 | 72 |
#include <stdio.h> |
73 | 73 |
#include <errno.h> |
... | ... |
@@ -182,6 +185,9 @@ cli_untar(const char *dir, int desc) |
182 | 182 |
case '6': /* fifo special */ |
183 | 183 |
directory = 1; |
184 | 184 |
break; |
185 |
+ case 'L': /* GNU extension - ././@LongLink */ |
|
186 |
+ cli_errmsg("cli_untar: only standard TAR files are currently supported\n", type); |
|
187 |
+ return CL_EFORMAT; |
|
185 | 188 |
default: |
186 | 189 |
cli_errmsg("cli_untar: unknown type flag %c\n", type); |
187 | 190 |
return CL_EIO; |