On 2010-09-17 11:48 +0200, Frédéric Boiteux wrote:

>   When porting an own application using ncurses from an old 5.5 version to
> a current 5.7 (i.e. on a Debian Lenny system), I found a bug related to free
> of screens (the application manages multiple terminals) : when the close
> of terminals was in the same order they was created, the application
> segfaulted or looped indefinitely. I identified the bug in the
> delscreen() function, and more precisely in delink_screen() where the
> global list of screens is incorrectly updated.
>   I've successfully tested my application with the simple patch attached.

Could you show some sample code that triggers the bug?  The patch looks
correct to me, but I'd like to verify that it works.

>   This bug is also present in Squeeze and Sid. It has been fixed
> upstream in 2010/4/24 (last version of Sid is 20100313), I checked this
> with upstream authors (T. Dickey).

Actually it was fixed in 2010/5/01.

>   It would be nice if the patch could be integrated in next Lenny
> release (if any)

Could be difficult, since the requirements for stable updates are rather
strict¹.

> and also in coming Squeeze.

That's certainly possible.  As soon as the current version migrates to
Squeeze (should happen by the end of next week), we can upload to sid
and ask for another freeze exception.

Thanks,
       Sven


¹ http://www.debian.org/doc/developers-reference/pkgs.html#upload-stable



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to