lib/roken/recvmsg.c incorrect

bpreece@unity.ncsu.edu bpreece at unity.ncsu.edu
Tue Sep 8 05:11:26 CEST 1998



On a linux box with antique libc, arla-0.9 compiles but fails. 
The culprit appears to be the substitute recvmsg in lib/roken/recvmsg.c .
With this patch and some coercion to get arla to like my old
kerberos (lacks krb_get_err_text), arlad -t is able to fetch files:

retrieving revision 1.1.1.1
diff -u -r1.1.1.1 recvmsg.c
--- recvmsg.c   1998/09/07 20:40:49     1.1.1.1
+++ recvmsg.c   1998/09/08 02:26:58
@@ -67,6 +67,7 @@
        memcpy (iov->iov_base, p, cnt);
        p += cnt;
        nb -= cnt;
+       iov++;
     }
     free(buf);
     return ret;








More information about the Arla-drinkers mailing list