summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libbb/lineedit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/lineedit.c b/libbb/lineedit.c
index 61b88fd..edc0e51 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;