[SCM] GNU Mach branch, master, updated. v1.8-1205-gaa61c07a

Samuel Thibault <[email protected]> Mon, 27 Jul 2026 18:54:54 -0400 (EDT)
Newsgroups gmane.os.hurd.cvs
Message-ID <[email protected]>
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Mach".

The branch, master has been updated
       via  aa61c07a4a098fd45b3e63935b4ac5e0bc5281b8 (commit)
      from  55df6d376dff0b9cb4f68da28d35de2a54369531 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit aa61c07a4a098fd45b3e63935b4ac5e0bc5281b8
Author: Alperen Erkan <[email protected]>
Date:   Sat Jul 25 00:00:00 2026 +0300

    ipc_kmsg: assert non-NULL kmsg in ipc_kmsg_free
    
    ipc_kmsg_free() dereferenced kmsg->ikm_size without any check that
    kmsg was non-NULL. Any caller passing IKM_NULL would crash on that
    dereference.
    
    Rather than silently returning on a NULL kmsg -- which would hide a
    real bug in the caller -- follow the convention already used
    throughout this file (see ipc_kmsg_rmqueue, ipc_kmsg_copyout_dest,
    etc.) and assert() the precondition, so a misbehaving caller is
    caught loudly in debug/MACH_ASSERT builds instead of being papered
    over.
    
    No other behavioral changes.

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

Summary of changes:
 ipc/ipc_kmsg.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
GNU Mach