rpms/licq/F-7 licq-1.3.4-new_user_auth.patch, NONE, 1.1 licq.spec, 1.18, 1.19

Jiří Moskovčák (jmoskovc) fedora-extras-commits at redhat.com
Tue Nov 27 13:04:30 UTC 2007


Author: jmoskovc

Update of /cvs/extras/rpms/licq/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25210

Modified Files:
	licq.spec 
Added Files:
	licq-1.3.4-new_user_auth.patch 
Log Message:
Fixed crash when new user requested authorization.


licq-1.3.4-new_user_auth.patch:

--- NEW FILE licq-1.3.4-new_user_auth.patch ---
--- licq-1.3.4/src/icqd-srv.cpp~	2006-10-15 14:10:58.000000000 +0200
+++ licq-1.3.4/src/icqd-srv.cpp	2007-11-26 14:30:32.000000000 +0100
@@ -4919,8 +4919,12 @@ void CICQDaemon::ProcessVariousFam(CBuff
 	  case ICQ_CMDxSUB_EMAILxPAGER:
 	  {
             ICQUser *u = gUserManager.FetchUser(nUin, LOCK_R);
-            bool bIgnore = u->IgnoreList();
-            gUserManager.DropUser(u);
+	    bool bIgnore = false;
+	    if (u)
+	    {
+		bIgnore = u->IgnoreList();
+		gUserManager.DropUser(u);
+	    }
 
             if (bIgnore)
             {


Index: licq.spec
===================================================================
RCS file: /cvs/extras/rpms/licq/F-7/licq.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- licq.spec	27 Feb 2007 13:47:47 -0000	1.18
+++ licq.spec	27 Nov 2007 13:03:57 -0000	1.19
@@ -1,6 +1,6 @@
 Name: licq
 Version: 1.3.4
-Release: 6%{?dist}
+Release: 7%{?dist}
 License: GPL
 Source0: http://prdownloads.sourceforge.net/licq/licq-%{version}.tar.gz
 Source1: http://prdownloads.sourceforge.net/icqnd/icqnd-0.1.9.6.tar.bz2
@@ -8,13 +8,13 @@
 Summary: Licq - A graphical ICQ Client for Linux
 Group: Applications/Internet
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Requires: htmlview
 BuildRequires: qt-devel
 BuildRequires: gpgme-devel libgpg-error-devel 
 BuildRequires: openssl-devel
 BuildRequires: desktop-file-utils
 BuildRequires: libXScrnSaver-devel
 BuildRequires: gettext, automake, libtool
+Patch0:	licq-1.3.4-new_user_auth.patch
 
 %package kde
 Summary: Licq plugin for KDE
@@ -70,6 +70,7 @@
 
 %prep
 %setup -q
+%patch0 -p1 -b .new_user_auth
 tar -C plugins -xjf %{SOURCE1}
 
 #remove cvs stuff
@@ -222,6 +223,10 @@
 %doc plugins/auto-reply/{README,licq_autoreply.conf,examples}
 
 %changelog
+* Mon Nov 26 2007 Jiri Moskovcak <jmoskovc at redhat.com> 1.3.4-7
+- fixed sigsegv when new user requested authorization
+- Resolves: #389731
+
 * Tue Feb 27 2007 Peter Vrabec <pvrabec at redhat.com> 1.3.4-6
 - build
 




More information about the fedora-extras-commits mailing list