mirror of
https://github.com/sheumann/hush.git
synced 2025-01-03 16:29:50 +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 {
|
} else {
|
||||||
/* "~[^/]*" */
|
/* "~[^/]*" */
|
||||||
/* Using _r function to avoid pulling in static buffers */
|
/* Using _r function to avoid pulling in static buffers */
|
||||||
char line_buff[PWD_BUFFER_SIZE];
|
char line_buff[256];
|
||||||
struct passwd pwd;
|
struct passwd pwd;
|
||||||
struct passwd *result;
|
struct passwd *result;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user