packages: libtirpc/libtirpc.spec, libtirpc/libtirpc-XDR_GETPOS.patch (NEW) ...
baggins
baggins at pld-linux.org
Wed Jul 1 21:49:29 CEST 2009
Author: baggins Date: Wed Jul 1 19:49:29 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- rel 2
- fix problems with gssd segfaulting due to libtirpc trying to checksum
a buffer of -1 bytes length
---- Files affected:
packages/libtirpc:
libtirpc.spec (1.20 -> 1.21) , libtirpc-XDR_GETPOS.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/libtirpc/libtirpc.spec
diff -u packages/libtirpc/libtirpc.spec:1.20 packages/libtirpc/libtirpc.spec:1.21
--- packages/libtirpc/libtirpc.spec:1.20 Wed Jul 1 00:20:01 2009
+++ packages/libtirpc/libtirpc.spec Wed Jul 1 21:49:24 2009
@@ -7,7 +7,7 @@
Summary(pl.UTF-8): Biblioteka RPC niezależnego od transportu
Name: libtirpc
Version: 0.2.0
-Release: 1
+Release: 2
Epoch: 1
License: BSD-like
Group: Libraries
@@ -15,6 +15,7 @@
# Source0-md5: b3b513a8825aa227deac63ea38c64f41
Patch0: %{name}-link.patch
Patch1: %{name}-heimdal.patch
+Patch2: %{name}-XDR_GETPOS.patch
URL: http://sourceforge.net/projects/libtirpc/
BuildRequires: autoconf
BuildRequires: automake
@@ -94,6 +95,7 @@
%setup -q
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%build
%{__libtoolize}
@@ -153,6 +155,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.21 2009/07/01 19:49:24 baggins
+- rel 2
+- fix problems with gssd segfaulting due to libtirpc trying to checksum
+ a buffer of -1 bytes length
+
Revision 1.20 2009/06/30 22:20:01 baggins
- up to 0.2.0
- removed obsolete git patch
================================================================
Index: packages/libtirpc/libtirpc-XDR_GETPOS.patch
diff -u /dev/null packages/libtirpc/libtirpc-XDR_GETPOS.patch:1.1
--- /dev/null Wed Jul 1 21:49:29 2009
+++ packages/libtirpc/libtirpc-XDR_GETPOS.patch Wed Jul 1 21:49:24 2009
@@ -0,0 +1,14 @@
+diff -ur libtirpc-0.2.0/src/auth_gss.c libtirpc-0.2.0-test/src/auth_gss.c
+--- libtirpc-0.2.0/src/auth_gss.c 2009-05-28 21:25:26.000000000 +0200
++++ libtirpc-0.2.0-test/src/auth_gss.c 2009-07-01 21:01:32.818065056 +0200
+@@ -309,6 +309,10 @@
+ }
+ /* Checksum serialized RPC header, up to and including credential. */
+ rpcbuf.length = XDR_GETPOS(xdrs);
++ /* XDR_GETPOS most of the time returns -1 (you can't seek on a socket),
++ * and gss_get_mic doesn't like it */
++ if ((int)rpcbuf.length == -1)
++ rpcbuf.length = 0;
+ XDR_SETPOS(xdrs, 0);
+ rpcbuf.value = XDR_INLINE(xdrs, rpcbuf.length);
+
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libtirpc/libtirpc.spec?r1=1.20&r2=1.21&f=u
More information about the pld-cvs-commit
mailing list