OpenBSD/src trSj1QLlib/libcurses/base lib_redrawln.c

   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@
VersionDeltaFile
1.4+6-6lib/libcurses/base/lib_redrawln.c
+6-61 files

UnifiedSplitRaw