diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2024-12-15 22:08:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-15 22:08:36 +0200 |
commit | d1b9cc3ec372de08a25c7de78c1d89d7cd622bce (patch) | |
tree | f65ada4bf65e9e9f47be41daa2898e466d6608d9 | |
parent | 3ead03af50c2969acef9d7c01be085e76b2f9249 (diff) | |
parent | 9a80c753dc698405e427f413851981694c9db7d8 (diff) | |
download | libnss-tacplus-master.tar.gz libnss-tacplus-master.zip |
T6613: improve line buffer for config file from 256 -> 2048 byte
-rw-r--r-- | debian/changelog | 6 | ||||
-rw-r--r-- | nss_tacplus.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index 61aee24..529814a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +libnss-tacplus (1.0.4-cl5.1.0u11.1) UNRELEASED; urgency=medium + + * Improve line buffer for config file from 256 -> 2048 byte + + -- Christian Breunig <christian@breunig.cc> Sun, 15 Dec 2024 10:40:40 +0100 + libnss-tacplus (1.0.4-cl5.1.0u11) RELEASED; urgency=medium * new build for 5.1.0 from original hash 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; |