mirror of
https://github.com/topjohnwu/ndk-busybox.git
synced 2024-12-04 18:06:52 +00:00
fix inadvertently leaked PWD_BUFFER_SIZE
This commit is contained in:
parent
081ef799fa
commit
6b343ddbc8
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user