[BusyBox] Re: bug#1103: potential fix

Mark Whitley markw at lineo.com
Fri Feb 9 22:03:31 UTC 2001


On Fri, Feb 09, 2001 at 12:49:04PM -0800, Larry Doolittle wrote:
> 
> You're half right.  Try
> 	if (stat(argv[optind], &st) < 0 || !S_ISREG(st.st_mode) ||

Tried it. That got rid of the segfault (fortunately), but we're still getting
the original problem:


# ~/devel/busybox/busybox insmod joystick
insmod: error reading ELF header: Is a directory
insmod: Could not load the module: Is a directory


That's with Matt's + your patches applied.

Gonna look at it further, hopefully more later...


Mark Whitley
markw at lineo.com





More information about the busybox mailing list