NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lib/56159: libcurses wresize() bounds pads by the size of the screen



>Number:         56159
>Category:       lib
>Synopsis:       libcurses wresize() bounds pads by the size of the screen
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May 08 15:15:00 +0000 2021
>Originator:     nia
>Release:        current
>Organization:
>Environment:
>Description:
The libcurses function wresize() refuses to resize a pad beyond the
bounds of the screen, even if the pad is already bigger than the
screen.

This behavior is strange and inconsistent with ncurses.
>How-To-Repeat:

>Fix:
The wresize() function should check if the window is actually a pad
before applying screen size limits.



Home | Main Index | Thread Index | Old Index