[PATCH] SWAT fix
SUGIOKA Toshinobu
sugioka at itonet.co.jp
Wed Oct 9 07:35:24 GMT 2002
Hi.
Here's a small patch.
This fixes strange SWAT behavior on some architectures other than i386.
(in my case sh-linux)
--- source/web/cgi.c 3 Oct 2002 03:31:41 -0000 1.60
+++ source/web/cgi.c 9 Oct 2002 07:19:36 -0000
@@ -77,7 +77,7 @@
*p = (c1<<4) | c2;
- memcpy(p+1, p+3, strlen(p+3)+1);
+ memmove(p+1, p+3, strlen(p+3)+1);
p++;
}
}
----
SUGIOKA Toshinobu
More information about the samba-technical
mailing list