rpms/obexftp/devel obexftp-segv.patch, NONE, 1.1 obexftp.spec, 1.3, 1.4
Dominik Mierzejewski (rathann)
fedora-extras-commits at redhat.com
Mon Mar 26 12:05:02 UTC 2007
- Previous message (by thread): rpms/sbcl/EL-4 .cvsignore, 1.18, 1.19 sbcl.spec, 1.45, 1.46 sources, 1.20, 1.21
- Next message (by thread): rpms/nas/EL-4 .cvsignore,1.2,1.3 nas.spec,1.7,1.8 sources,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: rathann
Update of /cvs/extras/rpms/obexftp/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3546
Modified Files:
obexftp.spec
Added Files:
obexftp-segv.patch
Log Message:
- fix segfault in obexftpd (patch by Jan Kratochvil), closes (#230991)
obexftp-segv.patch:
--- NEW FILE obexftp-segv.patch ---
diff -u -rup obexftp-0.22-orig/apps/obexftpd.c obexftp-0.22/apps/obexftpd.c
--- obexftp-0.22-orig/apps/obexftpd.c 2006-07-03 02:12:30.000000000 +0200
+++ obexftp-0.22/apps/obexftpd.c 2007-03-26 11:06:07.000000000 +0200
@@ -399,7 +402,7 @@ static uint8_t* easy_readfile(const char
return NULL;
}
- buf = malloc(sizeof(*file_size));
+ buf = malloc(*file_size);
if(buf == NULL)
{
return NULL;
Index: obexftp.spec
===================================================================
RCS file: /cvs/extras/rpms/obexftp/devel/obexftp.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- obexftp.spec 25 Mar 2007 14:24:47 -0000 1.3
+++ obexftp.spec 26 Mar 2007 12:04:29 -0000 1.4
@@ -7,12 +7,13 @@
Summary: Tool to access devices via the OBEX protocol
Group: Applications/File
Version: 0.22
-Release: 0.1.%{pre}
+Release: 0.2.%{pre}
License: GPL
URL: http://openobex.triq.net/
Source: http://triq.net/obexftp/%{name}-%{version}-%{pre}.tar.bz2
Patch0: %{name}-norpath.patch
Patch1: %{name}-perl.patch
+Patch2: %{name}-segv.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
BuildRequires: bluez-libs-devel
BuildRequires: openobex-devel >= 1.2
@@ -67,6 +68,7 @@
%setup -q
%patch0 -p1 -b .norpath
%patch1 -p1 -b .p
+%patch2 -p1 -b .segv
%build
autoreconf -f -i
@@ -120,6 +122,9 @@
%{perl_vendorarch}/*/OBEXFTP/OBEXFTP.so
%changelog
+* Mon Mar 26 2007 Dominik Mierzejewski <rpm at greysector.net> - 0.22-0.2.pre4
+- fix segfault in obexftpd (patch by Jan Kratochvil), closes (#230991)
+
* Fri Mar 23 2007 Dominik Mierzejewski <rpm at greysector.net> - 0.22-0.1.pre4
- updated to 0.22-pre4
- updated patches
- Previous message (by thread): rpms/sbcl/EL-4 .cvsignore, 1.18, 1.19 sbcl.spec, 1.45, 1.46 sources, 1.20, 1.21
- Next message (by thread): rpms/nas/EL-4 .cvsignore,1.2,1.3 nas.spec,1.7,1.8 sources,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list