[SCM] Samba Shared Repository - branch v4-16-test updated

Jule Anger janger at samba.org
Wed Nov 23 15:59:02 UTC 2022


The branch, v4-16-test has been updated
       via  7edddbc684c CVE-2022-42898: HEIMDAL: lib/krb5: fix _krb5_get_int64 on systems where 'unsigned long' is just 32-bit
      from  33f74aea5d5 nsswitch: Fix uninitialized memory when allocating pwdlastset_prelim

https://git.samba.org/?p=samba.git;a=shortlog;h=v4-16-test


- Log -----------------------------------------------------------------
commit 7edddbc684c8098f15063732b9bf13b089e8fae4
Author: Stefan Metzmacher <metze at samba.org>
Date:   Wed Nov 16 12:08:45 2022 +0100

    CVE-2022-42898: HEIMDAL: lib/krb5: fix _krb5_get_int64 on systems where 'unsigned long' is just 32-bit
    
    BUG: https://bugzilla.samba.org/show_bug.cgi?id=15203
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    Reviewed-by: Ralph Boehme <slow at samba.org>
    
    Autobuild-User(v4-16-test): Jule Anger <janger at samba.org>
    Autobuild-Date(v4-16-test): Wed Nov 23 15:58:56 UTC 2022 on sn-devel-184

-----------------------------------------------------------------------

Summary of changes:
 third_party/heimdal/lib/krb5/store-int.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


Changeset truncated at 500 lines:

diff --git a/third_party/heimdal/lib/krb5/store-int.c b/third_party/heimdal/lib/krb5/store-int.c
index 542b99abc08..6fe7eb37fc6 100644
--- 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;
-    unsigned long v = 0;
+    uint64_t v = 0;
     size_t i;
     for (i = 0; i < size; i++)
 	v = (v << 8) + p[i];


-- 
Samba Shared Repository



More information about the samba-cvs mailing list