This is the mail archive of the
libc-alpha@sourceware.cygnus.com
mailing list for the glibc project.
RPC IPv6 breaks binary compatibility
- To: libc-alpha at sourceware dot cygnus dot com
- Subject: RPC IPv6 breaks binary compatibility
- From: Thorsten Kukuk <kukuk at suse dot de>
- Date: Tue, 25 Jan 2000 21:32:06 +0100
Hi,
the new RPC IPv6 patch for glibc 2.2 breaks the binary
compatibility of old binaries.
The patch for SVCXPRT in rpc/svc.h increases the struct, since
sockaddr_storage uses much more space then sockaddr_in. But old
programs doesn't allocate enough space.
As far as I can say, no program allocates memory for SVCXPRT,
it is only a handle for RPC. But some program derefence the
pointer to get the response verifier. This now fails because the
data is stored on another adress.
Thorsten
--
Thorsten Kukuk http://www.suse.de/~kukuk/ kukuk@suse.de
SuSE GmbH Schanzaeckerstr. 10 90443 Nuernberg
Linux is like a Vorlon. It is incredibly powerful, gives terse,
cryptic answers and has a lot of things going on in the background.