xrandr: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Sep 19 01:00:48 UTC 2018


 xrandr.c |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit a2134406ab0aef44e7b710e1e2a2a40965e96692
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Thu Sep 13 09:44:16 2018 +1000

    init the name to 0
    
    There are a few conditions where coverity finds a use of an uninitialized
    field of the name_t struct. These are rather messy combinations of conditions,
    so let's go with the simple solution here and just init everything to 0.
    This may still have side-effects but at least they'll be more obvious than the
    previous "use whatever memory is leftover from breakfast".
    
    This patch also adds a missing init_name(), much for the same reason.
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>



More information about the xorg-commit mailing list