Author :
fcambus
Date :
2019-11-15 14:45:37
Hash :cd1d3177 Message :Fix a segmentation fault in ncurses.
This is a backported patch [1] from ncurses-5.7-20100501. It takes begx
and begy values into account when calculating lengths, in order to avoid
writing data past the end of the buffer when calling memset in wredrawln().
From upstream NEWS file:
20100501
+ correct limit-check in wredrawln, accounting for begy/begx values
(patch by David Benjamin).
[1] https://lists.gnu.org/archive/html/bug-ncurses/2010-04/msg00017.html
OK nicm@