Mon Dec 08 2003 Lon Hohberger <lhh@redhat.com> 4.0.1-2
- Build for Fedora
Mon Dec 08 2003 Lon Hohberger <lhh@redhat.com> 4.0.1-1
- Import of 4.0.1 from upstream.
- Removed screen-homedir hack introduced in 3.9.15-8. (I was unable to
reproduce the behavior described in #98320, and thus, the patch isn't
necessary.)
- Fix for buffer overflow from Timo Strainen (patch 7).
- Fix for #111084 - we now require texinfo to build.
- Comment out lines in screenrc causing screen to complain at startup.
32 lines
939 B
Diff
32 lines
939 B
Diff
--- ansi.c.orig 2003-12-04 10:59:05.000000000 -0500
|
|
+++ ansi.c 2003-12-04 10:59:20.000000000 -0500
|
|
@@ -559,7 +559,7 @@
|
|
{
|
|
case '0': case '1': case '2': case '3': case '4':
|
|
case '5': case '6': case '7': case '8': case '9':
|
|
- if (curr->w_NumArgs < MAXARGS)
|
|
+ if (curr->w_NumArgs >= 0 && curr->w_NumArgs < MAXARGS)
|
|
{
|
|
if (curr->w_args[curr->w_NumArgs] < 100000000)
|
|
curr->w_args[curr->w_NumArgs] =
|
|
--- resize.c.old 2003-11-27 02:55:07.000000000 +0200
|
|
+++ resize.c 2003-11-27 02:58:33.000000000 +0200
|
|
@@ -682,6 +682,17 @@
|
|
if (wi == 0)
|
|
he = hi = 0;
|
|
|
|
+ if (wi > 1000)
|
|
+ {
|
|
+ Msg(0, "Window width too large, truncated");
|
|
+ wi = 1000;
|
|
+ }
|
|
+ if (he > 1000)
|
|
+ {
|
|
+ Msg(0, "Window height too large, truncated");
|
|
+ he = 1000;
|
|
+ }
|
|
+
|
|
if (p->w_width == wi && p->w_height == he && p->w_histheight == hi)
|
|
{
|
|
debug("ChangeWindowSize: No change.\n");
|