[PATCH app/xdm] Fix notorious execution scenario for xdm

Egbert Eich eich at freedesktop.org
Wed May 27 05:36:29 PDT 2015


I ran across a notorious scenario where xdm was executed
with argc was 0. This caused xdm to segfault.
While this scenario was most likely invalid, it unveiled
a rather minor issue in xdm's arument handling.
So here is a fix.

Egbert Eich (1):
  dm: Don't crash if argc == 0

 xdm/dm.c | 47 +++++++++++++++++++++++++++--------------------
 1 file changed, 27 insertions(+), 20 deletions(-)

-- 
1.8.4.5



More information about the xorg-devel mailing list