postgres-github.git / summary / log / commit / refs

commit    5b5bf51e435304b2043db46b65455747de2af1f5
Author:   Michael Paquier <michael@paquier.xyz>
Date:     Fri Apr 10 02:17:09 2026 +0000

    Zero-fill private_data when attaching an injection point
    
    InjectionPointAttach() did not initialize the private_data buffer of the
    shared memory entry before (perhaps partially) overwriting it.  When the
    private data is set to NULL by the caler, the buffer was left
    uninitialized.  If set, it could have stale contents.
    
    The buffer is initialized to zero, so as the contents recorded when a
    point is attached are deterministic.
    
    Author: Sami Imseih <samimseih@gmail.com>
    Discussion: https://postgr.es/m/CAA5RZ0tsGHu2h6YLnVu4HiK05q+gTE_9WVUAqihW2LSscAYS-g@mail.gmail.com
    Backpatch-through: 17

[parent: 71ff232a5bc4]