1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-12 20:58:37 +03:00

CVE-2022-42898 source4/heimdal: Round #2 of scan-build warnings cleanup

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15203

[jsutton@samba.org Kept only the modification to lib/krb5/store.c to
 avoid a build error]
This commit is contained in:
Nicolas Williams 2016-11-16 11:39:27 -06:00 committed by Jule Anger
parent f792d3e390
commit 9c909c57ce

View File

@ -431,6 +431,7 @@ krb5_ret_int(krb5_storage *sp,
int ret;
unsigned char v[8];
uint64_t w;
*value = 0; /* quiets warnings */
ret = sp->fetch(sp, v, len);
if (ret < 0)
return errno;