iceauth: Changes to 'master'

Alan Coopersmith alanc at kemper.freedesktop.org
Sun Mar 25 06:39:14 UTC 2018


 process.c |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

New commits:
commit 509b0b9f6e3a40e23e0606eb9a976b28ddd9af6d
Author: Tobias Stoeckmann <tobias at stoeckmann.org>
Date:   Mon Nov 21 20:52:55 2016 +0100

    Fix segmentation fault on invalid input.
    
    The 'add' command leads to a segmentation fault on invalid input.
    
    Two arguments to 'add' can be quoted, but the quotation check does not
    properly parse a single double quote:
    
    $ echo 'add 0 " 0 0 0' | iceauth
    Segmentation fault
    $ _
    
    This happens because the code does not properly check if the argument
    consists of just one quote. Technically, it is true that the first
    and the last characters are double quotes. Therefore it also takes a
    check to verify that the length of the string is at least 2.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>



More information about the xorg-commit mailing list