gpg: Fix the fix out-of-bounds access.
authorWerner Koch <wk@gnupg.org>
Thu, 8 Dec 2016 16:03:26 +0000 (17:03 +0100)
committerWerner Koch <wk@gnupg.org>
Thu, 8 Dec 2016 16:03:26 +0000 (17:03 +0100)
commita75790b74095828f967c012eff7033f570d93077
tree6832175864a9c2b8175cd8be828dcb52b9b544b7
parentd8c5e8ccfdb53cc327f7520fc7badc31d0c9c666
gpg: Fix the fix out-of-bounds access.

* g10/tofu.c (build_conflict_set): Revert to int* and fix calloc.
--

The original code used an int array and thus better keep that and do
not limit it to 128 entries.

Fixes-commit: c3008bffac68b6f31e9ae9bad837cdce5de7c0db
Fixes-commit: 3b5b94ceab7c0ed9501c5cf54b4efa17fcd7300a
Signed-off-by: Werner Koch <wk@gnupg.org>
g10/tofu.c