From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stas Sergeev Subject: Re: ESCape issue with 1.1.3.2 Date: Wed, 19 Jun 2002 07:01:54 +0400 Sender: linux-msdos-owner@vger.kernel.org Message-ID: <3D0FF422.1020107@yahoo.com> Reply-To: stas.orel@mailcity.com Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: linux-msdos@vger.kernel.org Hello. Bart Oldeman wrote: > Anyhow, the following cures it for me: > - if (key == NULL) { > + if (key == NULL && symbol != KEY_ESC) { I think this will cause a null pointer dereference later in k_printf() so you have to also add a check.