diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-05-11 16:58:46 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-05-11 16:58:46 +0000 |
commit | 5f265b755a92e7efdbd0d18694913209dfd9e055 (patch) | |
tree | e6644e9f97dab0198ad771e1d330e02a7cce8553 /libbb/libbb.h | |
parent | 9d94deabd398634c6d1c601ba276f5afd97b2050 (diff) | |
download | busybox-w32-5f265b755a92e7efdbd0d18694913209dfd9e055.tar.gz busybox-w32-5f265b755a92e7efdbd0d18694913209dfd9e055.tar.bz2 busybox-w32-5f265b755a92e7efdbd0d18694913209dfd9e055.zip |
Fix a segfault in lash, hush, and cmdedit. Each of these used
xgetcwd, but did not check the return for a NULL, and then continued
to call strlen on the NULL when the cwd had been removed from under it.
-Erik
Diffstat (limited to 'libbb/libbb.h')
-rw-r--r-- | libbb/libbb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libbb/libbb.h b/libbb/libbb.h index 21af5688a..fde58b0a6 100644 --- a/libbb/libbb.h +++ b/libbb/libbb.h | |||
@@ -282,5 +282,6 @@ extern const char * const dash_dash_help; | |||
282 | extern const char * const write_error; | 282 | extern const char * const write_error; |
283 | extern const char * const too_few_args; | 283 | extern const char * const too_few_args; |
284 | extern const char * const name_longer_than_foo; | 284 | extern const char * const name_longer_than_foo; |
285 | extern const char * const unknown; | ||
285 | 286 | ||
286 | #endif /* __LIBBB_H__ */ | 287 | #endif /* __LIBBB_H__ */ |