[BusyBox-cvs] busybox/modutils insmod.c,1.111,1.112
Manuel Novoa III
mjn3 at busybox.net
Wed Feb 18 10:14:19 UTC 2004
Update of /var/cvs/busybox/modutils
In directory nail:/tmp/cvs-serv9708
Modified Files:
insmod.c
Log Message:
Patch from OpenWrt.
Index: insmod.c
===================================================================
RCS file: /var/cvs/busybox/modutils/insmod.c,v
retrieving revision 1.111
retrieving revision 1.112
diff -u -d -r1.111 -r1.112
--- insmod.c 5 Jan 2004 23:49:37 -0000 1.111
+++ insmod.c 18 Feb 2004 10:14:17 -0000 1.112
@@ -3589,8 +3589,10 @@
const char *name;
if (sym->st_name)
name = strtab + sym->st_name;
- else
+ else if (sym->st_shndx < shnum)
name = f->sections[sym->st_shndx]->name;
+ else
+ continue;
#if defined(__SH5__)
/*
More information about the busybox-cvs
mailing list