aboutsummaryrefslogtreecommitdiff
path: root/libbb/lineedit.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-03-18 00:57:15 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-03-18 00:57:15 +0000
commit6b343ddbc81a56e5c0a3d9af5ad4d68ecdc3370b (patch)
treeb4ec39ef134bd40829c471db8cbb78b1f767de07 /libbb/lineedit.c
parent081ef799fa2b2d9c372f1ca20c13beec40866eeb (diff)
downloadbusybox-w32-6b343ddbc81a56e5c0a3d9af5ad4d68ecdc3370b.tar.gz
busybox-w32-6b343ddbc81a56e5c0a3d9af5ad4d68ecdc3370b.tar.bz2
busybox-w32-6b343ddbc81a56e5c0a3d9af5ad4d68ecdc3370b.zip
fix inadvertently leaked PWD_BUFFER_SIZE
Diffstat (limited to 'libbb/lineedit.c')
-rw-r--r--libbb/lineedit.c2
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