git: window(1): Perform NULL check before strcmp() rather than after.
YONETANI Tomokazu
y0netan1 at crater.dragonflybsd.org
Fri Apr 9 19:04:05 PDT 2010
commit a980262361ebe4b35b5c50199d6ba0044e3adbd7
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/a980262361ebe4b35b5c50199d6ba0044e3adbd7
--
DragonFly BSD source repository
More information about the Commits
mailing list