fix inadvertently leaked PWD_BUFFER_SIZE
authorDenis Vlasenko <vda.linux@googlemail.com>
Sun, 18 Mar 2007 00:57:15 +0000 (00:57 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Sun, 18 Mar 2007 00:57:15 +0000 (00:57 -0000)
libbb/lineedit.c

index 61b88fdc8f63447a39c34cc661027488f6bfc372..edc0e513c5cd6a06845a8126e69b75e9e3e13f43 100644 (file)
@@ -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;