openbsd-ports/security/clamav/patches/patch-libclamav_ole2_extract_c
sthen 167593e9ae SECURITY update to clamav 0.98.5 (crash fixes for various maliciously crafted
files, improved detection of malicious PE files, new file formats)
2014-11-19 00:18:01 +00:00

16 lines
520 B
Plaintext

$OpenBSD: patch-libclamav_ole2_extract_c,v 1.14 2014/11/19 00:18:01 sthen Exp $
allow for machine arch where char is unsigned by default (e.g. arm, powerpc)
--- libclamav/ole2_extract.c.orig Thu Nov 13 22:30:43 2014
+++ libclamav/ole2_extract.c Tue Nov 18 23:40:53 2014
@@ -229,7 +229,7 @@ static unsigned char magic_id[] = {0xd0, 0xcf, 0x11, 0
static char *
-get_property_name2(char *name, int size)
+get_property_name2(signed char *name, int size)
{
int i, j;
char *newname;