Blame SOURCES/0008-make-the-default-max-number-of-state-cookies-7-inste.patch

79aa81
From 623163348f74fc1bd019a676fa24af69dde79654 Mon Sep 17 00:00:00 2001
79aa81
From: Hans Zandbelt <hans.zandbelt@zmartzone.eu>
79aa81
Date: Fri, 3 Aug 2018 21:41:34 +0200
79aa81
Subject: [PATCH 08/11] make the default max number of state cookies 7 instead
79aa81
 of unlimited
79aa81
79aa81
bump to 2.3.8rc1
79aa81
79aa81
Signed-off-by: Hans Zandbelt <hans.zandbelt@zmartzone.eu>
79aa81
(cherry picked from commit 6616372af77df04a9b0b197e759790ecf3f2399a)
79aa81
---
79aa81
 ChangeLog    | 5 ++++-
79aa81
 src/config.c | 2 +-
79aa81
 2 files changed, 5 insertions(+), 2 deletions(-)
79aa81
79aa81
diff --git a/ChangeLog b/ChangeLog
79aa81
index b6ac513..27f45be 100644
79aa81
--- a/ChangeLog
79aa81
+++ b/ChangeLog
79aa81
@@ -1,5 +1,8 @@
79aa81
-08/01/2018
79aa81
+
79aa81
+08/03/2018
79aa81
 - add option to set an upper limit to the number of concurrent state cookies via OIDCStateMaxNumberOfCookies; see #331
79aa81
+- make the default maximum number of parallel state cookies 7 instead of unlimited; see #331
79aa81
+- bump o 2.3.8rc1
79aa81
 
79aa81
 07/06/2018
79aa81
 - abort when string length for remote user name substitution is larger than 255 characters
79aa81
diff --git a/src/config.c b/src/config.c
79aa81
index c793818..6fa6227 100644
79aa81
--- a/src/config.c
79aa81
+++ b/src/config.c
79aa81
@@ -105,7 +105,7 @@
79aa81
 /* timeout in seconds after which state expires */
79aa81
 #define OIDC_DEFAULT_STATE_TIMEOUT 300
79aa81
 /* maximum number of parallel state cookies; 0 means unlimited, until the browser or server gives up */
79aa81
-#define OIDC_DEFAULT_MAX_NUMBER_OF_STATE_COOKIES 0
79aa81
+#define OIDC_DEFAULT_MAX_NUMBER_OF_STATE_COOKIES 7
79aa81
 /* default session inactivity timeout */
79aa81
 #define OIDC_DEFAULT_SESSION_INACTIVITY_TIMEOUT 300
79aa81
 /* default session max duration */
79aa81
-- 
79aa81
2.26.2
79aa81