Package: newsbeuter / 2.9-5+deb9u2

09-config-parser-off-by-one.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
Origin: upstream, https://github.com/akrennmair/newsbeuter/issues/225

--- a/src/regexmanager.cpp
+++ b/src/regexmanager.cpp
@@ -54,7 +54,7 @@
 				throw confighandlerexception(utils::strprintf(_("`%s' is not a valid color"), params[2].c_str()));
 			colorstr.append(params[2]);
 		}
-		if (params.size() > 2) {
+		if (params.size() > 3) {
 			if (params[3] != "default") {
 				if (colorstr.length() > 0)
 					colorstr.append(",");