Debian bug report logs - #1045
tgetflag("hc") segfaults (fwd)

Package: libc; Reported by: Bill Mitchell <mitchell@mdd.comm.mot.com>; 129 days old.

Message received at debian-bugs:


From mdd.comm.mot.com!mitchell Sat Jun 24 23:02:49 1995
Return-Path: <mitchell@mdd.comm.mot.com>
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0sPkmP-0005DjC; Sat, 24 Jun 95 23:02 PDT
Received: from motgate.mot.com by pixar.com with SMTP id AA21793
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Sat, 24 Jun 1995 23:01:15 -0700
Received: from pobox.mot.com (pobox.mot.com [129.188.137.100]) by motgate.mot.com (8.6.11/8.6.10/MOT-3.7) with ESMTP id BAA19855 for <debian-bugs@pixar.com>; Sun, 25 Jun 1995 01:02:41 -0500
Received: from mdd.comm.mot.com (mdisea.mdd.comm.mot.com [138.242.64.201]) by pobox.mot.com (8.6.11/8.6.10/MOT-3.7) with SMTP id BAA20790 for <debian-bugs@pixar.com>; Sun, 25 Jun 1995 01:02:40 -0500
Received: from bb29c.mdd.comm.mot.com by mdd.comm.mot.com (4.1/SMI-4.1)
	id AA03962; Sat, 24 Jun 95 23:02:39 PDT
Received: by bb29c.mdd.comm.mot.com (4.1/SMI-4.1)
	id AA20751; Sat, 24 Jun 95 23:02:37 PDT
Date: Sat, 24 Jun 1995 23:02:36 -0700 (PDT)
From: Bill Mitchell <mitchell@mdd.comm.mot.com>
X-Sender: mitchell@bb29c
To: debian-bugs@pixar.com
Subject: tgetflag("hc") segfaults (fwd)
Message-Id: <Pine.SUN.3.91.950624225950.20741C-100000@bb29c>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


PACKAGE: libc
VERSION: 4.6.27
PACKAGE_REVISION: 5

The following bug seems to stem from a bug in libtermcap.a.
If TERM contains a terminal name not in /etc/termcap,
tgetflag("hc") segfaults.

mitchell@mdd.comm.mot.com (Bill Mitchell)


---------- Forwarded message ----------
Date: Sat, 24 Jun 95 23:13 BST
From: N.D. Turton <ndt1001@cus.cam.ac.uk>
To: debian-bugs@pixar.com
Subject: Bug#1043: less segmentation faults with unknown TERM

Package: less
Version: 290

When less is invoked with TERM set to an unknown terminal type, it
segmentation faults. strace say it does some setting up, reads in
/etc/termcap, closes it, and dies.

Example:

 bash# echo foo >bar
 bash# TERM=unlisted less bar
 Segmentation fault
 bash# TERM=console less bar
 foo
 bar (END)

I am using debian 0.93R4 (I think. Let me know if you think this is
important.) with a 1.2.1 kernel, and 4.6.27 libc.

Neil.
--
Neil Turton, Second assistant computer officer,
Churchill college, Cambridge. CB3 0DS.





Acknowledgement sent to Bill Mitchell <mitchell@mdd.comm.mot.com>:
New bug report received and forwarded. Full text available.
Report forwarded to debian-devel@pixar.com:
Bug#1045; Package libc. Full text available.
Ian Jackson / iwj10@thor.cam.ac.uk, with the debian-bugs tracking mechanism
This page last modified 07:43:01 GMT Wed 01 Nov