From 6b343ddbc81a56e5c0a3d9af5ad4d68ecdc3370b Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sun, 18 Mar 2007 00:57:15 +0000 Subject: fix inadvertently leaked PWD_BUFFER_SIZE --- libbb/lineedit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) } else { /* "~[^/]*" */ /* Using _r function to avoid pulling in static buffers */ - char line_buff[PWD_BUFFER_SIZE]; + char line_buff[256]; struct passwd pwd; struct passwd *result; -- cgit v1.2.3