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 tag, v1.8+git20261028 has been created
        at  2a77238c976605ab5aeec2457658c63430aba581 (commit)

- Log -----------------------------------------------------------------
commit 2a77238c976605ab5aeec2457658c63430aba581
Author: David Bidner <[email protected]>
Date:   Wed Oct 7 05:39:47 2026 +0200

    ddb: keep ddb output variables db_expr_t-sized on 64-bit
    
    The ddb variable table accesses db_max_line, db_max_width and
    db_tab_stop_width through db_expr_t pointers, but their definitions
    use int.  On 64-bit kernels, assigning these variables overwrites
    adjacent storage.  In particular, setting $lines cleared the tab width
    and caused division by zero during tab expansion.
    
    Define all three variables as db_expr_t.  For non-positive tab widths,
    avoid division in NEXT_TAB() and emit pending whitespace as spaces so
    db_force_whitespace() keeps advancing.  This also changes invalid-width
    handling on 32-bit kernels.
    
    Tested in the serial-console debugger on i386 and amd64 with tab widths
    0, -1, 4 and 8; output completed and variable values were preserved.
    Message-ID: <[email protected]>
-----------------------------------------------------------------------


hooks/post-receive
-- 
GNU Mach

Reply via email to