Bug 1098 - fix sign-extension issues in xdr_stdio on 64-bit machines
Summary: fix sign-extension issues in xdr_stdio on 64-bit machines
Status: RESOLVED FIXED
Alias: None
Product: glibc
Classification: Unclassified
Component: libc (show other bugs)
Version: 2.3.5
: P2 normal
Target Milestone: ---
Assignee: Roland McGrath
URL:
Keywords:
Depends on:
Blocks: libc236
  Show dependency treegraph
 
Reported: 2005-07-18 03:05 UTC by Roland McGrath
Modified: 2005-07-19 03:30 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roland McGrath 2005-07-18 03:05:06 UTC
This trunk patch should go into the 2.3 branch:

2005-03-21  Thorsten Kukuk  <kukuk@suse.de>

	* sunrpc/xdr_stdio.c (xdrstdio_getlong, xdrstdio_putlong):
	Convert correctly between long/int on 64bit big-endian.
Comment 1 Sourceware Commits 2005-07-18 03:06:37 UTC
Subject: Bug 1098

CVSROOT:	/cvs/glibc
Module name:	libc
Branch: 	glibc-2_3-branch
Changes by:	roland@sources.redhat.com	2005-07-18 03:06:34

Modified files:
	sunrpc         : xdr_stdio.c 

Log message:
	2005-03-21  Thorsten Kukuk  <kukuk@suse.de>
	
	[BZ #1098]
	* sunrpc/xdr_stdio.c (xdrstdio_getlong, xdrstdio_putlong):
	Convert correctly between long/int on 64bit big-endian.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sunrpc/xdr_stdio.c.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.16&r2=1.16.4.1

Comment 2 Roland McGrath 2005-07-19 03:30:42 UTC
This fix is now in the 2.3 branch as well as the trunk, and the problem should
be resolved as of the 2.3.6 release.