2019-11-05 19:37:17 +00:00
|
|
|
From 6b14979cdb7a177e7c5567faa67449dd1365c1b9 Mon Sep 17 00:00:00 2001
|
2019-05-07 13:10:24 +00:00
|
|
|
From: Rob Crittenden <rcritten@redhat.com>
|
|
|
|
Date: Mon, 8 Oct 2018 13:16:08 -0400
|
2019-11-05 19:37:17 +00:00
|
|
|
Subject: [PATCH 20/25] clang: Avoid buffer overflow
|
2019-05-07 13:10:24 +00:00
|
|
|
|
|
|
|
This shouldn't be possible because the caller would never allow
|
|
|
|
it all to be passed in but quiet static analyzers.
|
|
|
|
---
|
|
|
|
src/getcert.c | 4 ++--
|
|
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/src/getcert.c b/src/getcert.c
|
|
|
|
index 0d527ab0..bbc45479 100644
|
|
|
|
--- a/src/getcert.c
|
|
|
|
+++ b/src/getcert.c
|
|
|
|
@@ -1839,8 +1839,8 @@ set_tracking(const char *argv0, const char *category,
|
|
|
|
enum cm_tdbus_type bus = CM_DBUS_DEFAULT_BUS;
|
|
|
|
DBusMessage *req, *rep;
|
|
|
|
const char *request, *capath;
|
|
|
|
- struct cm_tdbusm_dict param[28];
|
|
|
|
- const struct cm_tdbusm_dict *params[29];
|
|
|
|
+ struct cm_tdbusm_dict param[30];
|
|
|
|
+ const struct cm_tdbusm_dict *params[30];
|
|
|
|
char *nss_scheme, *dbdir = NULL, *token = NULL, *nickname = NULL;
|
|
|
|
char **anchor_dbs = NULL, **anchor_files = NULL;
|
|
|
|
char *id = NULL, *new_id = NULL, *new_request;
|
|
|
|
--
|
2019-11-05 19:37:17 +00:00
|
|
|
2.21.0
|
2019-05-07 13:10:24 +00:00
|
|
|
|