Hello community, here is the log from the commit of package yast2-ncurses checked in at Tue May 23 01:38:49 CEST 2006. -------- --- yast2-ncurses/yast2-ncurses.changes 2006-05-19 14:20:38.000000000 +0200 +++ yast2-ncurses/yast2-ncurses.changes 2006-05-22 11:55:58.000000000 +0200 @@ -1,0 +2,8 @@ +Mon May 22 10:10:25 CEST 2006 - gs@suse.de + +- Check whether the window pointer is valid in ::wCreate + to prevent a segfault if the terminal is too small + (bug #175920) +- 2.13.34 + +------------------------------------------------------------------- Old: ---- yast2-ncurses-2.13.33.tar.bz2 New: ---- yast2-ncurses-2.13.34.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-ncurses.spec ++++++ --- /var/tmp/diff_new_pack.UzfrNU/_old 2006-05-23 01:38:00.000000000 +0200 +++ /var/tmp/diff_new_pack.UzfrNU/_new 2006-05-23 01:38:00.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package yast2-ncurses (Version 2.13.33) +# spec file for package yast2-ncurses (Version 2.13.34) # # Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -11,12 +11,12 @@ # norootforbuild Name: yast2-ncurses -Version: 2.13.33 +Version: 2.13.34 Release: 1 License: GPL Group: System/YaST BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source0: yast2-ncurses-2.13.33.tar.bz2 +Source0: yast2-ncurses-2.13.34.tar.bz2 prefix: /usr BuildRequires: doxygen gcc-c++ libzypp-devel yast2-core-devel yast2-devtools BuildRequires: blocxx-devel libxcrypt-devel @@ -41,7 +41,7 @@ %prep -%setup -n yast2-ncurses-2.13.33 +%setup -n yast2-ncurses-2.13.34 %build %{prefix}/bin/y2tool y2autoconf @@ -74,6 +74,11 @@ %doc %{prefix}/share/doc/packages/yast2-ncurses %changelog -n yast2-ncurses +* Mon May 22 2006 - gs@suse.de +- Check whether the window pointer is valid in ::wCreate + to prevent a segfault if the terminal is too small + (bug #175920) +- 2.13.34 * Fri May 19 2006 - gs@suse.de - Package Installation: Sort the pattern list (bug #176603) - 2.13.33 ++++++ yast2-ncurses-2.13.33.tar.bz2 -> yast2-ncurses-2.13.34.tar.bz2 ++++++ ++++ 2584 lines of diff (skipped) ++++ retrying with extended exclude list diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-ncurses-2.13.33/VERSION new/yast2-ncurses-2.13.34/VERSION --- old/yast2-ncurses-2.13.33/VERSION 2006-05-19 14:19:07.000000000 +0200 +++ new/yast2-ncurses-2.13.34/VERSION 2006-05-22 11:56:07.000000000 +0200 @@ -1 +1 @@ -2.13.33 +2.13.34 diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-ncurses-2.13.33/src/NCComboBox.cc new/yast2-ncurses-2.13.34/src/NCComboBox.cc --- old/yast2-ncurses-2.13.33/src/NCComboBox.cc 2006-03-07 13:31:20.000000000 +0100 +++ new/yast2-ncurses-2.13.34/src/NCComboBox.cc 2006-05-22 09:49:21.000000000 +0200 @@ -119,6 +119,9 @@ { NCWidget::wCreate( newrect ); + if ( !win ) + return; + wrect lrect( 0, wsze::min( newrect.Sze, wsze( label.height(), newrect.Sze.W ) ) ); wrect trect( 0, wsze( 1, newrect.Sze.W ) ); diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-ncurses-2.13.33/src/NCIntField.cc new/yast2-ncurses-2.13.34/src/NCIntField.cc --- old/yast2-ncurses-2.13.33/src/NCIntField.cc 2006-03-07 13:31:20.000000000 +0100 +++ new/yast2-ncurses-2.13.34/src/NCIntField.cc 2006-05-22 09:51:05.000000000 +0200 @@ -130,6 +130,9 @@ { NCWidget::wCreate( newrect ); + if ( !win ) + return; + wrect lrect( 0, wsze::min( newrect.Sze, wsze( label.height(), newrect.Sze.W ) ) ); wrect trect( 0, wsze( 1, newrect.Sze.W ) ); diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-ncurses-2.13.33/src/NCProgressBar.cc new/yast2-ncurses-2.13.34/src/NCProgressBar.cc --- old/yast2-ncurses-2.13.33/src/NCProgressBar.cc 2006-03-07 13:31:20.000000000 +0100 +++ new/yast2-ncurses-2.13.34/src/NCProgressBar.cc 2006-05-22 09:50:24.000000000 +0200 @@ -117,6 +117,9 @@ { NCWidget::wCreate( newrect ); + if ( !win ) + return; + wrect lrect( 0, wsze::min( newrect.Sze, wsze( label.height(), newrect.Sze.W ) ) ); wrect trect( 0, wsze( 1, newrect.Sze.W ) ); diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-ncurses-2.13.33/src/NCTextEntry.cc new/yast2-ncurses-2.13.34/src/NCTextEntry.cc --- old/yast2-ncurses-2.13.33/src/NCTextEntry.cc 2006-05-19 14:16:29.000000000 +0200 +++ new/yast2-ncurses-2.13.34/src/NCTextEntry.cc 2006-05-22 09:56:01.000000000 +0200 @@ -141,6 +141,9 @@ { NCWidget::wCreate( newrect ); + if ( !win ) + return; + wrect lrect( 0, wsze::min( newrect.Sze, wsze( label.height(), newrect.Sze.W ) ) ); if ( lrect.Sze.H == newrect.Sze.H ) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun...
participants (1)
-
root@suse.de