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

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


From: Sascha Wildner <swildner@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 21 Apr 2010 15:47:55 -0700 (PDT)

commit 2ffac869e58efa243d38c8225bb97c288a130605
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/2ffac869e58efa243d38c8225bb97c288a130605


-- 
DragonFly BSD source repository



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