termcap emulation broken
Bug #481740 reported by
vandyswa
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ncurses (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
With termcap emulation, tgetstr() needs to understand that it uses only the initial two characters of the capability
name. Mostly it has code to do this, but in Karmic I am seeing that the function _nc_find_
hash_function() on the parameter string without honoring the termcap mode, and thus the hash value incorrectly
reflects subsequent bytes following the two byte capability name. The attached program shows the issue.
Changed in ncurses (Ubuntu): | |
status: | New → Fix Released |
To post a comment you must log in.
This was fixed upstream in
20091114
+ limit hashing for termcap-names to 2-characters (Ubuntu #481740).