diff options
author | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-03-18 00:57:15 +0000 |
---|---|---|
committer | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-03-18 00:57:15 +0000 |
commit | 35ad95f83b1431a93999a01dbb7334e7e15c843f (patch) | |
tree | b4ec39ef134bd40829c471db8cbb78b1f767de07 | |
parent | 8829f0639813811fb428c20ebfa56161f56839c5 (diff) | |
download | busybox-w32-35ad95f83b1431a93999a01dbb7334e7e15c843f.tar.gz busybox-w32-35ad95f83b1431a93999a01dbb7334e7e15c843f.tar.bz2 busybox-w32-35ad95f83b1431a93999a01dbb7334e7e15c843f.zip |
fix inadvertently leaked PWD_BUFFER_SIZE
git-svn-id: svn://busybox.net/trunk/busybox@18134 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r-- | libbb/lineedit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/lineedit.c b/libbb/lineedit.c index 61b88fdc8..edc0e513c 100644 --- a/libbb/lineedit.c +++ b/libbb/lineedit.c | |||
@@ -343,7 +343,7 @@ static void username_tab_completion(char *ud, char *with_shash_flg) | |||
343 | } else { | 343 | } else { |
344 | /* "~[^/]*" */ | 344 | /* "~[^/]*" */ |
345 | /* Using _r function to avoid pulling in static buffers */ | 345 | /* Using _r function to avoid pulling in static buffers */ |
346 | char line_buff[PWD_BUFFER_SIZE]; | 346 | char line_buff[256]; |
347 | struct passwd pwd; | 347 | struct passwd pwd; |
348 | struct passwd *result; | 348 | struct passwd *result; |
349 | 349 | ||