Bug 58299 - use of *chgat() function crashes ncurses-based programs
Summary: use of *chgat() function crashes ncurses-based programs
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: ncurses
Version: 7.2
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact: Aaron Brown
Depends On:
TreeView+ depends on / blocked
Reported: 2002-01-13 16:04 UTC by Bram
Modified: 2007-04-18 16:38 UTC (History)
0 users

Clone Of:
Last Closed: 2002-01-13 16:04:06 UTC

Attachments (Terms of Use)

Description Bram 2002-01-13 16:04:01 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7) Gecko/20011221

Description of problem:
Programs that use the ncurses chgat() function will crash, since this will
trigger an infinite, recursive loop in the ncurses lib. This bug has been
confirmed by the author. Upgrading to a more recent patchlevel (or to the older
5.2-release) fixes this problem.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.download ftp://mud.stack.nl/pub/mp3blaster/mp3blaster-3.0.tar.gz
2.extract the source, ./configure, make
3.run src/mp3blaster


Actual Results:  segmentation fault

Expected Results:  A working version of the program

Additional info:

run src/mp3blaster within gdb, and do a backtrace(bt) to confirm the problem.
Not many ncurses-based programs use chgat(), that's why it probably went by

Comment 1 Bernhard Rosenkraenzer 2002-01-15 11:32:11 UTC
Fixed in rawhide

Note You need to log in before you can comment on or make changes to this bug.