mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-21 14:47:03 +01:00
g10: Fix out-of-bounds access.
* g10/tofu.c (build_conflict_set): Use 'char'. Fixes-commit: c3008bffac68b6f31e9ae9bad837cdce5de7c0db Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
dd03667ab1
commit
3b5b94ceab
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user