Segfault in alternate screen handling (#948617)

epel9
Petr Hracek 12 years ago
commit 5d9f6f9d5d

@ -0,0 +1,14 @@
diff --git a/src/ansi.c b/src/ansi.c
index d88e153..8df79b2 100644
--- a/src/ansi.c
+++ b/src/ansi.c
@@ -1438,8 +1438,8 @@ int c, intermediate;
}
else
{
- LeaveAltScreen(curr);
RestoreCursor(&curr->w_alt.cursor);
+ LeaveAltScreen(curr);
}
if (a1 == 47 && !i)
curr->w_saved.on = 0;

@ -4,7 +4,7 @@
Summary: A screen manager that supports multiple logins on one terminal
Name: screen
Version: 4.1.0
Release: 0.15.20120314git3c2946%{?dist}
Release: 0.16.20120314git3c2946%{?dist}
License: GPLv2+
Group: Applications/System
URL: http://www.gnu.org/software/screen
@ -30,6 +30,7 @@ Patch7: screen-4.1.0-reattach.patch
Patch8: screen-4.1.0-crypt.patch
Patch9: screen-4.1.0-long-term.patch
Patch10: screen-help-update.patch
Patch11: screen-altscreen.patch
%description
The screen utility allows you to have multiple logins on just one
@ -53,6 +54,7 @@ support multiple logins on one terminal.
%patch8 -p2 -b .crypto
%patch9 -p2 -b .long-term
%patch10 -p2 -b .help-update
%patch11 -p2 -b .altscreen.patch
%build
@ -149,6 +151,9 @@ fi
%endif
%changelog
* Tue Jun 18 2013 Petr Hracek <phracek@redhat.com> - 4.1.0-0.16.20120314git3c2946
- Fix: Segfault in alternate screen handling (#948617)
* Fri Apr 05 2013 Petr Hracek <phracek@redhat.com> - 4.1.0-0.15.20120314git3c2946
- correct missing help options
@ -187,7 +192,7 @@ fi
- update to git snapshot 20110328git8cf5ef
- clear scrollback buffer before locking linux terminal (#683733)
* Tue Feb 10 2011 Miroslav Lichvar <mlichvar@redhat.com> - 4.1.0-0.3.20101110git066b098
* Thu Feb 10 2011 Miroslav Lichvar <mlichvar@redhat.com> - 4.1.0-0.3.20101110git066b098
- move sockets back to /var/run/screen (#676663)
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.0-0.2.20101110git066b098
@ -255,7 +260,7 @@ fi
* Fri Jan 5 2007 Marcela Maslanova <mmaslano@redhat.com> - 4.0.3-2
- rebuilt (change in spec file)
* Wed Oct 15 2006 Marcela Maslanova <mmaslano@redhat.com> - 4.0.3-1
* Sun Oct 15 2006 Marcela Maslanova <mmaslano@redhat.com> - 4.0.3-1
- new version from upstream
- ipv6 patch #198410
@ -351,16 +356,16 @@ and thus, the patch isn't necessary.)
- Comment out lines in screenrc causing screen to complain
at startup.
* Tue Jul 10 2003 Lon Hohberger <lhh@redhat.com> 3.9.15-11
* Thu Jul 10 2003 Lon Hohberger <lhh@redhat.com> 3.9.15-11
- Rebuilt
* Tue Jul 10 2003 Lon Hohberger <lhh@redhat.com> 3.9.15-10
* Thu Jul 10 2003 Lon Hohberger <lhh@redhat.com> 3.9.15-10
- Put the bindkey back in for now.
* Mon Jul 01 2003 Lon Hohberger <lhh@redhat.com> 3.9.15-9
* Tue Jul 01 2003 Lon Hohberger <lhh@redhat.com> 3.9.15-9
- Rebuilt
* Mon Jul 01 2003 Lon Hohberger <lhh@redhat.com> 3.9.15-8
* Tue Jul 01 2003 Lon Hohberger <lhh@redhat.com> 3.9.15-8
- Change screen's behavior to do the following: Attempt to use
~/.screen as the screen directory. Failing that (ie, on files
systems without Unix sockets support), try using /tmp/screen-<USER>.
@ -423,10 +428,10 @@ for build 2.
* Wed Aug 14 2002 Philip Copeland <bryce@redhat.com> 3.9.11-10
- #65344 - doomed by utf8
* Tue Aug 12 2002 Philip Copeland <bryce@redhat.com> 3.9.11-9
* Mon Aug 12 2002 Philip Copeland <bryce@redhat.com> 3.9.11-9
- #60597 - what /shall/ we make the defaults today?
* Thu Jul 17 2002 Philip Copeland <bryce@redhat.com> 3.9.11-8
* Wed Jul 17 2002 Philip Copeland <bryce@redhat.com> 3.9.11-8
- Prevent the makefile from stripping the binary
- Really get rid of the libelf dependancy
@ -481,7 +486,7 @@ for build 2.
- update to 3.9.8
- change the .jbj patch and add some more "user" -> "auser" cases
* Thu Aug 15 2000 Crutcher Dunnavant <crutcher@redhat.com>
* Tue Aug 15 2000 Crutcher Dunnavant <crutcher@redhat.com>
- Patched the documentation to change the 'C-a C-\' to 'C-a \',
- which is what is the real behaviour. this fixes bug #16103
@ -541,7 +546,7 @@ for build 2.
* Wed Jun 16 1999 Bill Nottingham <notting@redhat.com>
- force tty permissions/group
* Wed Jun 5 1999 Dale Lovelace <dale@redhat.com>
* Sat Jun 5 1999 Dale Lovelace <dale@redhat.com>
- permissions on /etc/skel/.screenrc to 644
* Mon Apr 26 1999 Bill Nottingham <notting@redhat.com>
@ -571,7 +576,7 @@ for build 2.
* Mon Apr 27 1998 Prospector System <bugs@redhat.com>
- translations modified for de, fr, tr
* Wed Oct 21 1997 Cristian Gafton <gafton@redhat.com>
* Tue Oct 21 1997 Cristian Gafton <gafton@redhat.com>
- upgraded to 3.7.4
* Wed Oct 08 1997 Erik Troan <ewt@redhat.com>

Loading…
Cancel
Save