diff options
author | Christian Breunig <christian@breunig.cc> | 2024-12-15 09:37:51 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2024-12-15 10:41:23 +0100 |
commit | 9a80c753dc698405e427f413851981694c9db7d8 (patch) | |
tree | f65ada4bf65e9e9f47be41daa2898e466d6608d9 /nss_tacplus.c | |
parent | 3ead03af50c2969acef9d7c01be085e76b2f9249 (diff) | |
download | libnss-tacplus-T6613-tacacs.tar.gz libnss-tacplus-T6613-tacacs.zip |
config: improve line buffer for config file from 256 -> 2048 byteT6613-tacacs
Support extensive length of exclude_users to avoid truncation in VyOS.
Diffstat (limited to 'nss_tacplus.c')
-rw-r--r-- | nss_tacplus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nss_tacplus.c b/nss_tacplus.c index 3a7e09c..8285ce6 100644 --- a/nss_tacplus.c +++ b/nss_tacplus.c @@ -144,7 +144,7 @@ static int str_to_ipv4(const char *srcaddr, struct addrinfo *p_addr_info) static int nss_tacplus_config(int *errnop, const char *cfile, int top) { FILE *conf; - char lbuf[256]; + char lbuf[2048]; static struct stat lastconf[MAX_INCL]; static char *cfilelist[MAX_INCL]; struct stat st, *lst; |