diff options
| author | Eric Andersen <andersen@codepoet.org> | 2000-08-22 05:18:30 +0000 |
|---|---|---|
| committer | Eric Andersen <andersen@codepoet.org> | 2000-08-22 05:18:30 +0000 |
| commit | 089d12d762ddaa9d4be2df1e1ffc21bdfc34902a (patch) | |
| tree | 9850aa1f6187980149769c8a6c13cde3139554b6 /modutils | |
| parent | aaa94fb8a9e470d19d2447e843941e68cea3babf (diff) | |
| download | busybox-w32-089d12d762ddaa9d4be2df1e1ffc21bdfc34902a.tar.gz busybox-w32-089d12d762ddaa9d4be2df1e1ffc21bdfc34902a.tar.bz2 busybox-w32-089d12d762ddaa9d4be2df1e1ffc21bdfc34902a.zip | |
Fix a unterminated string.
-Erik
Diffstat (limited to 'modutils')
| -rw-r--r-- | modutils/insmod.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modutils/insmod.c b/modutils/insmod.c index 0b06b5c40..4e159be5d 100644 --- a/modutils/insmod.c +++ b/modutils/insmod.c | |||
| @@ -70,7 +70,7 @@ | |||
| 70 | #ifndef MODUTILS_MODULE_H | 70 | #ifndef MODUTILS_MODULE_H |
| 71 | #define MODUTILS_MODULE_H 1 | 71 | #define MODUTILS_MODULE_H 1 |
| 72 | 72 | ||
| 73 | #ident "$Id: insmod.c,v 1.21 2000/08/21 19:38:49 andersen Exp $" | 73 | #ident "$Id: insmod.c,v 1.22 2000/08/22 05:18:30 andersen Exp $" |
| 74 | 74 | ||
| 75 | /* This file contains the structures used by the 2.0 and 2.1 kernels. | 75 | /* This file contains the structures used by the 2.0 and 2.1 kernels. |
| 76 | We do not use the kernel headers directly because we do not wish | 76 | We do not use the kernel headers directly because we do not wish |
| @@ -276,7 +276,7 @@ int delete_module(const char *); | |||
| 276 | #ifndef MODUTILS_OBJ_H | 276 | #ifndef MODUTILS_OBJ_H |
| 277 | #define MODUTILS_OBJ_H 1 | 277 | #define MODUTILS_OBJ_H 1 |
| 278 | 278 | ||
| 279 | #ident "$Id: insmod.c,v 1.21 2000/08/21 19:38:49 andersen Exp $" | 279 | #ident "$Id: insmod.c,v 1.22 2000/08/22 05:18:30 andersen Exp $" |
| 280 | 280 | ||
| 281 | /* The relocatable object is manipulated using elfin types. */ | 281 | /* The relocatable object is manipulated using elfin types. */ |
| 282 | 282 | ||
| @@ -576,7 +576,7 @@ static int findNamedModule(const char *fileName, struct stat *statbuf, | |||
| 576 | tmp++; | 576 | tmp++; |
| 577 | if (check_wildcard_match(tmp, fullName) == TRUE) { | 577 | if (check_wildcard_match(tmp, fullName) == TRUE) { |
| 578 | /* Stop searching if we find a match */ | 578 | /* Stop searching if we find a match */ |
| 579 | memcpy(m_filename, fileName, strlen(fileName)); | 579 | memcpy(m_filename, fileName, strlen(fileName)+1); |
| 580 | return (FALSE); | 580 | return (FALSE); |
| 581 | } | 581 | } |
| 582 | } | 582 | } |
