rpms/licq/devel licq-1.3.4-new_user_auth.patch, NONE, 1.1 licq.spec, 1.19, 1.20

Jiří Moskovčák (jmoskovc) fedora-extras-commits at redhat.com
Mon Nov 26 14:03:34 UTC 2007


Author: jmoskovc

Update of /cvs/extras/rpms/licq/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3660

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/devel/licq.spec,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- licq.spec	2 Oct 2007 14:07:56 -0000	1.19
+++ licq.spec	26 Nov 2007 14:03:00 -0000	1.20
@@ -1,6 +1,6 @@
 Name: licq
 Version: 1.3.4
-Release: 7%{?dist}
+Release: 8%{?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
@@ -14,6 +14,7 @@
 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
@@ -69,6 +70,7 @@
 
 %prep
 %setup -q
+%patch0 -p1 -b .new_user_auth.patch
 tar -C plugins -xjf %{SOURCE1}
 
 #remove cvs stuff
@@ -222,7 +224,11 @@
 %doc plugins/auto-reply/{README,licq_autoreply.conf,examples}
 
 %changelog
-* Tue Oct  2 2007 Jiri Moskovcak <jmoskovc at redhat.com> 1.3.4-6
+* Mon Nov 26 2007 Jiri Moskovcak <jmoskovc at redhat.com> 1.3.4-8
+- fixed sigsegv when new user requested authorization
+- Resolves: #389731
+
+* Tue Oct  2 2007 Jiri Moskovcak <jmoskovc at redhat.com> 1.3.4-7
 - spec file clean-up removed htmlview from dependencies
 - fixed problem with lupdate
 




More information about the fedora-extras-commits mailing list