Subject: CVS commit: src/lib/libcurses
To: None <source-changes@NetBSD.org>
From: Brett Lymn <blymn@netbsd.org>
List: source-changes
Date: 08/28/2007 12:28:18
Module Name:	src
Committed By:	blymn
Date:		Tue Aug 28 12:28:18 UTC 2007

Modified Files:
	src/lib/libcurses: getch.c

Log Message:
Fix a crash caused by having a single NULL character as a string capability.
This fix is about the best we can do given the current interfaces. We
could extend the cgetcap(3) interfaces with a function that would return
a character count and handle this in libterm which would provide a more
complete fix and allow a NULL character in a string capability.


To generate a diff of this commit:
cvs rdiff -r1.48 -r1.49 src/lib/libcurses/getch.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.