summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2024-12-15 22:08:36 +0200
committerGitHub <noreply@github.com>2024-12-15 22:08:36 +0200
commitd1b9cc3ec372de08a25c7de78c1d89d7cd622bce (patch)
treef65ada4bf65e9e9f47be41daa2898e466d6608d9
parent3ead03af50c2969acef9d7c01be085e76b2f9249 (diff)
parent9a80c753dc698405e427f413851981694c9db7d8 (diff)
downloadlibnss-tacplus-master.tar.gz
libnss-tacplus-master.zip
Merge pull request #1 from vyos/T6613-tacacsHEADmaster
T6613: improve line buffer for config file from 256 -> 2048 byte
-rw-r--r--debian/changelog6
-rw-r--r--nss_tacplus.c2
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;