Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contents of 7.8.1 release #1222

Open
wants to merge 17 commits into
base: heimdal-7-8-branch
Choose a base branch
from
Open

Commits on Nov 16, 2022

  1. kdc: avoid re-encoding KDC-REQ-BODY

    Use --preserve-binary=KDC-REQ-BODY option to ASN.1 compiler to avoid
    re-encoding KDC-REQ-BODYs for verification in GSS preauth, TGS and PKINIT.
    
    [abartlet@samba.org adapted from Heimdal commit
     ebfd48e
     by removing references to FAST and GSS-pre-auth.
    
     This fixes the Windows 11 22H2 issue with TGS-REQ
     as seen at https:github.com//issues/1011 and so
     removes the knownfail file for this test]
    
    FIXES: 1011
    
    Signed-off-by: Andrew Bartlett <abartlet@samba.org>
    lhoward authored and jaltman committed Nov 16, 2022
    Configuration menu
    Copy the full SHA
    4cd3926 View commit details
    Browse the repository at this point in the history
  2. lib/ipc: set but unused 'kr' variables

    mach_complete_async() and mach_complete_sync() are void functions.
    Nothing uses the 'kr' value after being set which results in
    
      error: variable 'kr' set but not used [-Werror,-Wunused-but-set-variable]
    
    Remove the variables.
    jaltman committed Nov 16, 2022
    Configuration menu
    Copy the full SHA
    6fa4d05 View commit details
    Browse the repository at this point in the history
  3. kuser/kinit: NO_AFS unused-but-set-variable

    When NO_AFS is defined, 'ret' is set but unused resulting in a build
    failure on macOS.
    
      error: variable 'ret' set but not used [-Werror,-Wunused-but-set-variable
    jaltman committed Nov 16, 2022
    Configuration menu
    Copy the full SHA
    3c9019d View commit details
    Browse the repository at this point in the history
  4. lib/krb5: fix _krb5_get_int64 on 32-bit systems

    On systems where 'unsigned long' is 32-bits and the 'size'
    parameter is set to 8 and the bytes are:
    
      0x78 0x00 0x00 0x00 0x00 0x00 0x00 0x00
    
    When 'i' becomes 4 'v' will be 0 again. As 'unsigned long' is only
    able to hold 4 bytes.
    
    Change the type of 'v' from 'unsigned long' to 'uint64_t' which
    matches the type of the output parameter 'value'.
    
    (cherry picked from commit 9d1bfab)
    
    Signed-off-by: Stefan Metzmacher <metze@samba.org>
    Reviewed-by: Ralph Boehme <slow@samba.org>
    CVE: CVE-2022-42898
    Samba-BUG: https://bugzilla.samba.org/show_bug.cgi?id=15203
    metze-samba authored and jaltman committed Nov 16, 2022
    Configuration menu
    Copy the full SHA
    5e2e89b View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2022

  1. lib/krb5: krb5_pac_parse mem leak if pac_header_size failure

    48 byte memory leak from krb5_pac_parse() each time pac_header_size()
    fails.
    jaltman committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    f6b0433 View commit details
    Browse the repository at this point in the history
  2. kdc: Check generate_pac() return code

    If the function fails, we should not issue a ticket missing the PAC.
    
    (cherry picked from commit 05e589d)
    jsutton24 authored and jaltman committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    28daf24 View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2022

  1. roken: do not override system network address functions

    Roken functions rk_copyhostent(), rk_freeaddrinfo(), rk_freehostent()
    rk_getaddrinfo(), rk_getipnodebyaddr(),  rk_getipnodebyname(), and
    rk_getnameinfo() should never be built without the "rk_" prefix.  Doing
    so overrides the system provided functions of the same name when they
    exist.
    
    (cherry picked from commit 7b3a993)
    nicowilliams authored and jaltman committed Dec 13, 2022
    Configuration menu
    Copy the full SHA
    e4fa0db View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2024

  1. ipropd_slave: open hdb around kadm5_log_init in case recovery needed

    log_init in the event a log is found will do recovery. kadm5_log_replay
    will call methods which expect an hdb_db to be set but without this
    none is
    dariaphoebe authored and nicowilliams committed Jan 13, 2024
    Configuration menu
    Copy the full SHA
    d2faa38 View commit details
    Browse the repository at this point in the history
  2. kadm5: Added kadm_log_init_recover

    This takes care of opening and closing the database for use with log possible
    recovery, without immediate intent to keep the database open for one or more
    changes.  This simplifies code in kadmin/load.c and lib/kadm5/ipropd_slave.c.
    hs-viktor authored and nicowilliams committed Jan 13, 2024
    Configuration menu
    Copy the full SHA
    d60d2ea View commit details
    Browse the repository at this point in the history
  3. kinit: Fix build error

    nicowilliams committed Jan 13, 2024
    Configuration menu
    Copy the full SHA
    cd4f7c9 View commit details
    Browse the repository at this point in the history
  4. hcrypto: Don't test rc2 nor rc4 (OS X)

    This is just for 7.8.1.  Do not pull this into master.
    nicowilliams committed Jan 13, 2024
    Configuration menu
    Copy the full SHA
    f136efa View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f8c3a03 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7464768 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3e7bfff View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    61198c5 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    191d1d4 View commit details
    Browse the repository at this point in the history
  10. Bump version to 7.8.1

    nicowilliams committed Jan 13, 2024
    Configuration menu
    Copy the full SHA
    1b4565a View commit details
    Browse the repository at this point in the history