Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Dec 2009 22:38:51 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r200556 - stable/8/contrib/ee
Message-ID:  <200912142238.nBEMcpxF041040@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: delphij
Date: Mon Dec 14 22:38:51 2009
New Revision: 200556
URL: http://svn.freebsd.org/changeset/base/200556

Log:
  MFC r199123:
  
  Add a minimal change to prevent NULL deference in ee(1).
  
  To repeat the problem, one can press "Ctrl+C" and then enter "0".
  
  Submitted by:   Alexander Best <alexbestms wwu de>
  PR:		bin/137707

Modified:
  stable/8/contrib/ee/ee.c
Directory Properties:
  stable/8/contrib/ee/   (props changed)

Modified: stable/8/contrib/ee/ee.c
==============================================================================
--- stable/8/contrib/ee/ee.c	Mon Dec 14 22:30:07 2009	(r200555)
+++ stable/8/contrib/ee/ee.c	Mon Dec 14 22:38:51 2009	(r200556)
@@ -1993,7 +1993,7 @@ char *cmd_str;
 	int number;
 	int i;
 	char *ptr;
-	char *direction = NULL;
+	char *direction = "d";
 	struct text *t_line;
 
 	ptr = cmd_str;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912142238.nBEMcpxF041040>