DragonFly BSD
DragonFly commits List (threaded) for 2010-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: window(1): Perform NULL check before strcmp() rather than after.


From: YONETANI Tomokazu <y0netan1@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 9 Apr 2010 19:02:25 -0700 (PDT)

commit a980262361ebe4b35b5c50199d6ba0044e3adbd7
Author: YONETANI Tomokazu <y0netan1@dragonflybsd.org>
Date:   Sat Apr 10 10:47:16 2010 +0900

    window(1): Perform NULL check before strcmp() rather than after.
    
    Fixes segfault upon TERM=cons25.

Summary of changes:
 usr.bin/window/ttgeneric.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a980262361ebe4b35b5c50199d6ba0044e3adbd7


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]