that are always true due to char not being signed on this platform). This update fixes a possible crash, see http://sourceforge.net/project/shownotes.php?release_id=337279 for details.
13 lines
472 B
Plaintext
13 lines
472 B
Plaintext
$OpenBSD: patch-libclamav_ole2_extract_c,v 1.1 2005/06/29 10:12:09 mbalmer Exp $
|
|
--- libclamav/ole2_extract.c.orig Wed Jun 29 11:32:53 2005
|
|
+++ libclamav/ole2_extract.c Wed Jun 29 11:34:42 2005
|
|
@@ -141,7 +141,7 @@ typedef struct property_tag
|
|
|
|
unsigned char magic_id[] = { 0xd0, 0xcf, 0x11, 0xe0, 0xa1, 0xb1, 0x1a, 0xe1};
|
|
|
|
-static char *get_property_name(char *name, int size)
|
|
+static char *get_property_name(signed char *name, int size)
|
|
{
|
|
int i, j;
|
|
char *newname;
|