openbsd-ports/security/clamav/patches/patch-libclamav_vba_extract_c
mbalmer 0963e86f43 Update to version 0.86.1 and add patches to fix problems on macppc (comparisons
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.
2005-06-29 10:12:09 +00:00

13 lines
549 B
Plaintext

$OpenBSD: patch-libclamav_vba_extract_c,v 1.1 2005/06/29 10:12:09 mbalmer Exp $
--- libclamav/vba_extract.c.orig Wed Jun 29 11:36:26 2005
+++ libclamav/vba_extract.c Wed Jun 29 11:36:48 2005
@@ -117,7 +117,7 @@ vba_version_t vba_version[] = {
2 + /* type1 record count */ \
2) /* unknown */
-static char *get_unicode_name(char *name, int size, int is_mac)
+static char *get_unicode_name(signed char *name, int size, int is_mac)
{
int i, j;
char *newname;