libXau: Changes to 'master'

Adam Jackson ajax at kemper.freedesktop.org
Fri Oct 20 18:51:28 UTC 2017


 AuFileName.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 987fee49dc1750082cfe6e24833379233777a13b
Author: Tobias Stoeckmann <tobias at stoeckmann.org>
Date:   Thu Oct 19 22:18:18 2017 +0200

    Avoid out of boundary read access
    
    If the environment variable HOME is empty, XauFileName triggers an
    out of boundary read access (name[1]). If HOME consists of a single
    character relative path, the output becomes unexpected, because
    "HOME=a" leads to "a.Xauthority" instead of "a/.Xauthority". Granted,
    a relative HOME path leads to trouble in general, the code should
    properly return "a/.Xauthority" nonetheless.
    
    Signed-off-by: Tobias Stoeckmann <tobias at stoeckmann.org>
    Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>



More information about the xorg-commit mailing list