[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fw: Re: Big problem on 2.0.x?
well, you all seems to be very worry about that so here is working patch.
-----Original Message-----
From: Jason Mills <jason@INETARENA.COM>
To: BUGTRAQ@SECURITYFOCUS.COM <BUGTRAQ@SECURITYFOCUS.COM>
Date: יום שלישי 14 דצמבר 1999 20:53
Subject: Re: Big problem on 2.0.x?
>heres a simple patch for the -s stuff just using the same method as with
>-l :)
>
>--- netkit-base-0.10/ping/ping.c.orig Mon Dec 13 15:33:56 1999
>+++ netkit-base-0.10/ping/ping.c Mon Dec 13 15:34:15 1999
>@@ -302,6 +302,11 @@
> options |= F_SO_DONTROUTE;
> break;
> case 's': /* size of packet to send */
>+ if (!am_i_root) {
>+ (void)fprintf(stderr,
>+ "ping: %s\n", strerror(EPERM));
>+ exit(2);
>+ }
> datalen = atoi(optarg);
> if (datalen > MAXPACKET) {
> (void)fprintf(stderr,
Moran Zavdi
Warp Security Response Team.
moran@sasa.org.il
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il