libXaw: Changes to 'master'

Alan Coopersmith alanc at kemper.freedesktop.org
Thu May 24 18:12:39 PDT 2012


 src/Text.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 11c3a104141e1a4946ad949dfb5514df0b66a031
Author: pcpa <paulo.cesar.pereira.de.andrade at gmail.com>
Date:   Tue May 22 20:42:32 2012 -0300

    Correct undefined behavior access to out of scope pointer contents.
    
      This problem is triggered in gcc 4.7 DCE (dead code elimination).
    In the Xaw code, the local constant "String" is not guaranteed to
    have global scope.
      The problem was found when debugging the reason xedit built with
    gcc 4.7 would be very unstable, and that happens regardless of using
    a libXaw built with gcc 4.6.
    
    Signed-off-by: pcpa <paulo.cesar.pereira.de.andrade at gmail.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>



More information about the xorg-commit mailing list