Dear Maintainer,

It will fix with the following patch.

--- netkit-rsh-0.17/rcp/rcp.c
+++ new/rcp/rcp.c
@@ -889,7 +889,11 @@
        fprintf(fp, "%c", 0x01);
        vfprintf(fp, fmt, ap);
        fflush(fp);
-       if (!iamremote) vfprintf(stderr, fmt, ap);
+       if (!iamremote) {
+               va_end(ap);
+               va_start(ap, fmt);
+               vfprintf(stderr, fmt, ap);
+       }
 
        va_end(ap);
 }

Bug#366535 will also be fixed with this patch.

Thank you,
Hiroyuki YAMAMORI

Reply via email to