Debian Bug report logs - #22239
dialog: `dialog --checklist p -1 -1 a b c d e f` segfaults

version graph

Package: dialog; Maintainer for dialog is Santiago Vila <sanvila@debian.org>; Source for dialog is src:dialog.

Reported by: A Mennucc1 <sysman@Tonelli.sns.it>

Date: Fri, 8 May 1998 10:03:05 UTC

Severity: normal

Found in version 0.9a-11.1

Done: unknown

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Santiago Vila <sanvila@ctv.es>:
Bug#22239; Package dialog. Full text and rfc822 format available.

Acknowledgement sent to A Mennucc1 <sysman@Tonelli.sns.it>:
New bug report received and forwarded. Copy sent to Santiago Vila <sanvila@ctv.es>. Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: A Mennucc1 <sysman@Tonelli.sns.it>
To: submit@bugs.debian.org
Subject: dialog: `dialog --checklist p -1 -1 a b c d e f` segfaults
Date: Fri, 8 May 1998 12:03:46 +0200 (CEST)
Package: dialog
Version: 0.9a-11.1


hi 

If I issue thhis command
 dialog --checklist p -1 -1 a b c d e f
I see this (I am x-copying, graphic chars are lost)

lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
x                                     p
x  
x lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
x  
x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq.(+)qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj
x  
x
x  
x
x  
x
x  


 
and then I hit the down arrow a few tims, I see this
on the screen:

x                                     p
x  
x lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
x  
x m                                [ ] b  c                                j
x  
x                                  [ ] e  f
x  
x                                  [ ] WINPAGER=/usr/bin/less
x  
x                                  [X] MOZHOSTDISPLAY=Tonelli:0.0i/Netscape
x  
x                                  [X] NNTUSER=mennuccierver.unipi.it
x  
x                                  [X] EDILANG=it_ITin/jed
x  
x                                  [ ] LOGSHLVL=2nnucci
x  
x                                  [ ] HOSOSTYPE=linux-gnu
x  
x                                  [X] TERXNLSPATH=/usr/X11R6/lib/X11/nls
x  
x                                  [X] _=/usr/bin/dialog
x  
x
x  
x
x  
x
x  
x
x  
x
x  
x
x  
x
x  
tqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu
x                           <  Segmentation fault (core dumped)              x

it seems to me that dialog goes after argv and tries to read the env
space, right?

thanks
        a. Mennucci

-- System Information
Debian Release: 2.0 (frozen)
Kernel Version: Linux Tonelli 2.0.33 #2 Sat Apr 18 13:51:25 EST 1998 i586 unknown

Versions of the packages dialog depends on:
libc6	Version: 2.0.7pre1-4
ncurses3.4	Version: 1.9.9g-8


Information forwarded to debian-bugs-dist@lists.debian.org, Santiago Vila <sanvila@ctv.es>:
Bug#22239; Package dialog. Full text and rfc822 format available.

Acknowledgement sent to Santiago Vila <sanvila@unex.es>:
Extra info received and forwarded to list. Copy sent to Santiago Vila <sanvila@ctv.es>. Full text and rfc822 format available.

Message #10 received at 22239@bugs.debian.org (full text, mbox):

From: Santiago Vila <sanvila@unex.es>
To: A Mennucc1 <sysman@Tonelli.sns.it>, 22239@bugs.debian.org
Subject: Re: #22239: dialog: `dialog --checklist p -1 -1 a b c d e f` segfaults
Date: Fri, 8 May 1998 14:16:10 +0200 (CEST)
-----BEGIN PGP SIGNED MESSAGE-----

On Fri, 8 May 1998, A Mennucc1 wrote:

> Package: dialog
> Version: 0.9a-11.1
> 
> hi 
> 
> If I issue thhis command
>  dialog --checklist p -1 -1 a b c d e f
> I see this (I am x-copying, graphic chars are lost)
> [...]
>
> and then I hit the down arrow a few tims, I see this
> on the screen:
> [...]

I can reproduce it.

This should not happen, of course.

So I will have to add code that checks that the "list-height" is really
a number.

Thanks.

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: latin1

iQCVAgUBNVL3hCqK7IlOjMLFAQFLUAQAi/xgV9m2n/9rGinxFtZUPN0itesU9btO
qvhmXDh+jo7LNjhHT0Ah5BSZ3ZCGBqfsndMH07i/ef435yKzBnt5C/f6mR+dO3Nh
cVbpxWGz/hwIc8PKr5E4M1c+9nDbFD4WrX7hGhLMM56Hd51kwEk3kqou1N++t596
Mnb2un0jVNY=
=OhdX
-----END PGP SIGNATURE-----



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Apr 17 00:57:36 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.