git://git.exim.org
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
867fcbf
)
malware.c: avoid arithmetic on a void pointer.
author
Tony Finch
<dot@dotat.at>
Mon, 9 May 2011 10:20:26 +0000
(11:20 +0100)
committer
Tony Finch
<dot@dotat.at>
Mon, 9 May 2011 10:20:26 +0000
(11:20 +0100)
doc/doc-txt/ChangeLog
patch
|
blob
|
history
src/src/malware.c
patch
|
blob
|
history
diff --git
a/doc/doc-txt/ChangeLog
b/doc/doc-txt/ChangeLog
index d3b3609f3621a715b01e095746f9d8bedb8223df..e782b9ee376a865e90bd1ba686fad083e6c7e846 100644
(file)
--- a/
doc/doc-txt/ChangeLog
+++ b/
doc/doc-txt/ChangeLog
@@
-9,6
+9,8
@@
Exim version 4.77
PP/01 Solaris build fix for Oracle's LDAP libraries.
Bugzilla 1109, patch from Stephen Usher.
+TF/01 HP/UX build fix: avoid arithmetic on a void pointer.
+
Exim version 4.76
-----------------
diff --git
a/src/src/malware.c
b/src/src/malware.c
index de8d08d195f0a55cbeb5d5807a4d32ae0094f237..8aab6df1ddf72eb903f04bfb506ec745d7b0700a 100644
(file)
--- a/
src/src/malware.c
+++ b/
src/src/malware.c
@@
-1917,7
+1917,7
@@
static int mksd_scan_packed(int sock, uschar *scan_filename)
iov[0].iov_len = 3;
iov[1].iov_base = CS scan_filename;
iov[1].iov_len = Ustrlen(scan_filename);
- iov[2].iov_base = (void *)
cmd + 3
;
+ iov[2].iov_base = (void *)
(cmd + 3)
;
iov[2].iov_len = 1;
if (mksd_writev (sock, iov, 3) < 0)