projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
081ef79
)
fix inadvertently leaked PWD_BUFFER_SIZE
author
Denis Vlasenko
<vda.linux@googlemail.com>
Sun, 18 Mar 2007 00:57:15 +0000
(
00:57
-0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Sun, 18 Mar 2007 00:57:15 +0000
(
00:57
-0000)
libbb/lineedit.c
patch
|
blob
|
history
diff --git
a/libbb/lineedit.c
b/libbb/lineedit.c
index 61b88fdc8f63447a39c34cc661027488f6bfc372..edc0e513c5cd6a06845a8126e69b75e9e3e13f43 100644
(file)
--- 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;