git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33f74ae
)
CVE-2022-42898: HEIMDAL: lib/krb5: fix _krb5_get_int64 on systems where 'unsigned...
author
Stefan Metzmacher
<metze@samba.org>
Wed, 16 Nov 2022 11:08:45 +0000
(12:08 +0100)
committer
Jule Anger
<janger@samba.org>
Wed, 23 Nov 2022 15:58:56 +0000
(15:58 +0000)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15203
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(v4-16-test): Jule Anger <janger@samba.org>
Autobuild-Date(v4-16-test): Wed Nov 23 15:58:56 UTC 2022 on sn-devel-184
third_party/heimdal/lib/krb5/store-int.c
patch
|
blob
|
history
diff --git
a/third_party/heimdal/lib/krb5/store-int.c
b/third_party/heimdal/lib/krb5/store-int.c
index 542b99abc08978ce9176fb7685d9db109df4cc48..6fe7eb37fc69e585e90e655a4ee5e4e0695df784 100644
(file)
--- a/
third_party/heimdal/lib/krb5/store-int.c
+++ b/
third_party/heimdal/lib/krb5/store-int.c
@@
-49,7
+49,7
@@
KRB5_LIB_FUNCTION krb5_ssize_t KRB5_LIB_CALL
_krb5_get_int64(void *buffer, uint64_t *value, size_t size)
{
unsigned char *p = buffer;
- u
nsigned long
v = 0;
+ u
int64_t
v = 0;
size_t i;
for (i = 0; i < size; i++)
v = (v << 8) + p[i];