[Ltrace-devel] func->arg_info[] sharing problem

Enrik Berkhan Enrik.Berkhan at planb.de
Fri May 25 21:29:59 UTC 2007


Hi,

in svn HEAD ltrace there is a problem with arg_info[]->arg_num getting
overwritten with wrong values when the arg_info is shared between
different argument positions. A workaround is to reset the arg_num info
before each call to display_arg() (see attaced diff).

Enrik
-- 
plan b. solutions GmbH        Handelsregister: HRB 701718 - AG Mannheim
Rüppurrer Straße 4            Geschäftsführung: Bernd Strehhuber
76137 Karlsruhe               E-Mail: info at planb.de
Telefon: 0721-388582          Fax: 0721-388581
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arg_num.diff
Type: text/x-patch
Size: 1234 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/ltrace-devel/attachments/20070525/d2fa9ca4/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3687 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.alioth.debian.org/pipermail/ltrace-devel/attachments/20070525/d2fa9ca4/attachment-0001.bin 


More information about the Ltrace-devel mailing list