[patch] samba-vscan 0.3.6: Bugfix for ICAP module

Rainer Link <[email protected]> Tue, 19 Apr 2005 15:24:57 +0200
Newsgroups gmane.comp.security.virus.openantivirus.devel
Message-ID <[email protected]>
--OXfL5xGRrasGEqWY
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Dears,

by accident a bug was introduced in the icap module between release
0.3.5 and 0.3.6. Please apply the attached diff (it's actually a
one-liner). 

I apologize for any inconviences.

best regards
Rainer Link


--OXfL5xGRrasGEqWY
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="vscan-icap.c.dif"

Index: vscan-icap.c
===================================================================
RCS file: /cvsroot/openantivirus/samba-vscan/icap/vscan-icap.c,v
retrieving revision 1.14.2.5
diff -u -r1.14.2.5 vscan-icap.c
--- vscan-icap.c	23 Feb 2005 02:49:38 -0000	1.14.2.5
+++ vscan-icap.c	19 Apr 2005 13:21:19 -0000
@@ -192,6 +192,7 @@
 	int rc;
 
 	/* Assemble complete file path */
+	pstrcpy(filepath, conn->connectpath);
 	pstrcat(filepath, "/");
 	pstrcat(filepath, fname);
 

--OXfL5xGRrasGEqWY--


-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728