diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-05-11 16:58:46 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-05-11 16:58:46 +0000 |
commit | 8ff167e7105b330d069ffff351be3eae1df337e8 (patch) | |
tree | e6644e9f97dab0198ad771e1d330e02a7cce8553 /Makefile | |
parent | cbdc734b320c0cde4ca3b25d15add9c6153eb7df (diff) | |
download | busybox-w32-8ff167e7105b330d069ffff351be3eae1df337e8.tar.gz busybox-w32-8ff167e7105b330d069ffff351be3eae1df337e8.tar.bz2 busybox-w32-8ff167e7105b330d069ffff351be3eae1df337e8.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
git-svn-id: svn://busybox.net/trunk/busybox@2613 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -259,7 +259,7 @@ endif | |||
259 | LIBBB_MSRC=libbb/messages.c | 259 | LIBBB_MSRC=libbb/messages.c |
260 | LIBBB_MESSAGES= full_version name_too_long omitting_directory not_a_directory \ | 260 | LIBBB_MESSAGES= full_version name_too_long omitting_directory not_a_directory \ |
261 | memory_exhausted invalid_date invalid_option io_error dash_dash_help \ | 261 | memory_exhausted invalid_date invalid_option io_error dash_dash_help \ |
262 | write_error too_few_args name_longer_than_foo | 262 | write_error too_few_args name_longer_than_foo unknown |
263 | LIBBB_MOBJ=$(patsubst %,$(LIBBB)/%.o, $(LIBBB_MESSAGES)) | 263 | LIBBB_MOBJ=$(patsubst %,$(LIBBB)/%.o, $(LIBBB_MESSAGES)) |
264 | 264 | ||
265 | 265 | ||