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

Sascha Wildner swildner at crater.dragonflybsd.org
Wed Apr 21 15:49:01 PDT 2010


commit 2ffac869e58efa243d38c8225bb97c288a130605
Author: YONETANI Tomokazu <y0netan1 at 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





More information about the Commits mailing list