From owner-cvs-lib Fri May 15 14:40:35 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA10161 for cvs-lib-outgoing; Fri, 15 May 1998 14:40:35 -0700 (PDT) (envelope-from owner-cvs-lib) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA09865; Fri, 15 May 1998 14:39:49 -0700 (PDT) (envelope-from ache@FreeBSD.org) From: "Andrey A. Chernov" Received: (from ache@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id OAA12930; Fri, 15 May 1998 14:35:54 -0700 (PDT) Date: Fri, 15 May 1998 14:35:54 -0700 (PDT) Message-Id: <199805152135.OAA12930@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libncurses lib_vidattr.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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 Revision Changes Path 1.9 +11 -5 src/lib/libncurses/lib_vidattr.c