bug#1207: [BusyBox] bug#1207: route del: seg faults

Erik Andersen andersen at lineo.com
Wed Aug 22 15:00:04 UTC 2001


On Wed Aug 22, 2001 at 04:04:07PM -0400, Jaspreet Singh wrote:
> Package: busybox
> Version: 0.60
> 
> When I invoke route del it results in a segmentation fault.
> 
> Also when routes are deleted the entries are shown. 

good catch.   Applied.

> I am submitting a patch with fixes the above 2 problems. The patch
> ignores any routes with no "U" flags.

I don't even know how to get a route that lacks a "U" flag...

> 111,113d110
> < 	if (*args == NULL)
> < 		show_usage();
> < 
> 387,390d383
> < 			else {
> < 				nl++;
> < 				continue;
> < 			}

It is much easier to read and apply patches if you use 'diff -u'.

 -Erik

--
Erik B. Andersen   email:  andersen at lineo.com
--This message was written using 73% post-consumer electrons--






More information about the busybox mailing list