Bug 12662

Summary: XtVaTypedArg bug for the 64-bit applications
Product: xorg Reporter: Vladimir <varuba>
Component: Lib/XtAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Vladimir 2007-10-03 07:07:52 UTC
In file Varargs.c for libXt-1.0.4 the function TypedArgToArg() doesn't work well for 64-bit applications. If to_val.size == 4 the function doesn't copy the converted value back to the destination arg_return->value. I think it must be obvious from the source file.

Best regards
Vladimir
Comment 1 Jeremy Huddleston Sequoia 2011-10-02 13:37:00 UTC
commit 6c0b44caa9b424c7e05327e8ddc9273b87a0f81f
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Sun Oct 2 13:35:26 2011 -0700

    LP64 fix for TypedArgToArg()
    
    https://bugs.freedesktop.org/show_bug.cgi?id=12662
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.