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

Reply via email to