RPC IPv6 breaks binary compatibility

Thorsten Kukuk kukuk@suse.de
Tue Jan 25 12:32:00 GMT 2000


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.


More information about the Libc-alpha mailing list