Browse code

update

git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@1415 77e5149b-7576-45b1-b177-96237e5ba77b

Tomasz Kojm authored on 2005/03/21 09:21:35
Showing 1 changed files
... ...
@@ -157,7 +157,7 @@ int cli_scanpe(int desc, const char **virname, long int *scanned, const struct c
157 157
 	struct pe_image_optional_hdr optional_hdr;
158 158
 	struct pe_image_section_hdr *section_hdr;
159 159
 	struct stat sb;
160
-	char sname[9], buff[8192], *tempfile;
160
+	char sname[9], buff[4096], *tempfile;
161 161
 	unsigned int i, found, upx_success = 0, min = 0, max = 0, err, broken = 0;
162 162
 	unsigned int ssize = 0, dsize = 0, dll = 0;
163 163
 	int (*upxfn)(char *, int , char *, int *, uint32_t, uint32_t, uint32_t) = NULL;