From 5f265b755a92e7efdbd0d18694913209dfd9e055 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 11 May 2001 16:58:46 +0000 Subject: 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 --- include/libbb.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/libbb.h') diff --git a/include/libbb.h b/include/libbb.h index 21af5688a..fde58b0a6 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -282,5 +282,6 @@ extern const char * const dash_dash_help; extern const char * const write_error; extern const char * const too_few_args; extern const char * const name_longer_than_foo; +extern const char * const unknown; #endif /* __LIBBB_H__ */ -- cgit v1.2.3