diff options
author | Justus Winter <[email protected]> | 2016-12-08 13:17:50 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2016-12-08 13:19:09 +0000 |
commit | 3b5b94ceab7c0ed9501c5cf54b4efa17fcd7300a (patch) | |
tree | c0d0a29ecf0abff767331c9079459f907aa30e5b | |
parent | tools: Fix use of uninitialized var in mime-maker. (diff) | |
download | gnupg-3b5b94ceab7c0ed9501c5cf54b4efa17fcd7300a.tar.gz gnupg-3b5b94ceab7c0ed9501c5cf54b4efa17fcd7300a.zip |
g10: Fix out-of-bounds access.
* g10/tofu.c (build_conflict_set): Use 'char'.
Fixes-commit: c3008bffac68b6f31e9ae9bad837cdce5de7c0db
Signed-off-by: Justus Winter <[email protected]>
-rw-r--r-- | g10/tofu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/tofu.c b/g10/tofu.c index d095bce6a..abf1ab42d 100644 --- a/g10/tofu.c +++ b/g10/tofu.c @@ -2227,7 +2227,7 @@ build_conflict_set (tofu_dbs_t dbs, int j; strlist_t *prevp; strlist_t iter_next; - int *die; + char *die; log_assert (conflict_set_count > 0); die = xtrycalloc (1, conflict_set_count); |