[Ltrace-devel] [ltrace 20/21] trace.c: fix (partially) umovelong

Arnaud Patard apatard at mandriva.com
Fri Jan 8 13:40:19 UTC 2010


umovelong was always returning the full value read in ptrace'd process
memory (eg long) even if the type was not a long (eg int).
This patch add handling for at least int case.

[ found out with parameters test case on x86_64 as int is 32bit and long
64bit ]

Signed-off-by: Arnaud Patard <apatard at mandriva.com>
---
 sysdeps/linux-gnu/trace.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 5b7e09a1e0846fc3d4742e0c48b4f733d5fd0083.diff
Type: text/x-patch
Size: 455 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/ltrace-devel/attachments/20100108/e719520a/attachment-0001.bin>


More information about the Ltrace-devel mailing list