Date: Fri, 15 May 1998 14:35:54 -0700 (PDT) From: "Andrey A. Chernov" <ache@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libncurses lib_vidattr.c Message-ID: <199805152135.OAA12930@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
ache 1998/05/15 14:35:54 PDT
Modified files:
lib/libncurses lib_vidattr.c
Log:
Low level use of 'vidattr()' can cause a NULL pointer to be
dereferenced. This is because 'SP' is only initialized via 'newterm()'
(which is not required if you are going to interact with the 'terminfo'
database without using 'ncurses').
PR: 6648
Submitted by: Max Euston <meuston@jmrodgers.com>
Revision Changes Path
1.9 +11 -5 src/lib/libncurses/lib_vidattr.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805152135.OAA12930>
