git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@1725 77e5149b-7576-45b1-b177-96237e5ba77b
Nigel Horne authored on 2005/09/22 15:34:18... | ... |
@@ -15,7 +15,7 @@ |
15 | 15 |
* along with this program; if not, write to the Free Software |
16 | 16 |
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
17 | 17 |
*/ |
18 |
-static char const rcsid[] = "$Id: pdf.c,v 1.32 2005/08/15 08:20:15 nigelhorne Exp $"; |
|
18 |
+static char const rcsid[] = "$Id: pdf.c,v 1.33 2005/09/22 06:34:18 nigelhorne Exp $"; |
|
19 | 19 |
|
20 | 20 |
#if HAVE_CONFIG_H |
21 | 21 |
#include "clamav-config.h" |
... | ... |
@@ -59,6 +59,10 @@ static int ascii85decode(const char *buf, size_t len, unsigned char *output); |
59 | 59 |
static const char *pdf_nextlinestart(const char *ptr, size_t len); |
60 | 60 |
static const char *pdf_nextobject(const char *ptr, size_t len); |
61 | 61 |
|
62 |
+/* |
|
63 |
+ * TODO: handle embedded URLs if (options&CL_SCAN_MAILURL) |
|
64 |
+ */ |
|
65 |
+ |
|
62 | 66 |
int |
63 | 67 |
cli_pdf(const char *dir, int desc) |
64 | 68 |
{ |
... | ... |
@@ -179,7 +183,7 @@ cli_pdf(const char *dir, int desc) |
179 | 179 |
const char *objstart, *objend, *streamstart, *streamend; |
180 | 180 |
size_t length, objlen, streamlen; |
181 | 181 |
char fullname[NAME_MAX + 1]; |
182 |
- |
|
182 |
+ |
|
183 | 183 |
if(q == xrefstart) |
184 | 184 |
break; |
185 | 185 |
if(memcmp(q, "xref", 4) == 0) |