From 9a80c753dc698405e427f413851981694c9db7d8 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Sun, 15 Dec 2024 09:37:51 +0100 Subject: config: improve line buffer for config file from 256 -> 2048 byte Support extensive length of exclude_users to avoid truncation in VyOS. --- nss_tacplus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nss_tacplus.c') 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; -- cgit v1.2.3