pppd/sys-linux.c:read_route_table() tries to breakup the lines read from
/proc/net/route, but fails (kernel 2.0.32, libc 5.4.33) as strtok() is
always called with the buffer address. Fix:
--- ../orig/pppd/sys-linux.c
+++ ./pppd/sys-linux.c
@@ -1157,6 +1158,7 @@
cols[col] = strtok(p, route_delims);
if (cols[col] == NULL)
return 0; /* didn't get enough columns */
+ p = NULL;
}
((struct sockaddr_in *) &rt->rt_dst)->sin_addr.s_addr =
louis
--
J�rgen Fluk
marco Systemanalyse und Entwicklung GmbH Tel +49 8131 5161-42
Hans-B�ckler-Str. 2, D 85221 Dachau Fax +49 8131 5161-66
http://www.marco.de/ Email [EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]