diff options
author | jolsa@redhat.com <jolsa@redhat.com> | 2011-05-25 15:09:44 +0200 |
---|---|---|
committer | Jiri Olsa <Jiri Olsa jolsa@redhat.com> | 2011-05-29 19:05:36 +0200 |
commit | 7a2b45ec4873e2d51e0d92197dc412a2edb21b32 (patch) | |
tree | 9562adcdaa041bd0686ae916849d8fb51a9dd70e /ChangeLog | |
parent | ec2866f5e5236a260b4d823a3435c2704f28bed5 (diff) | |
download | latrace-7a2b45ec4873e2d51e0d92197dc412a2edb21b32.tar.gz latrace-7a2b45ec4873e2d51e0d92197dc412a2edb21b32.tar.xz latrace-7a2b45ec4873e2d51e0d92197dc412a2edb21b32.zip |
args - replacing destination strings with void pointers
As per David Gilbert's email:
On library functions like strcpy() where there is a destination
string, latrace -A ends up trying to print out the
destination buffer which may be completely invalid.
Maybe it's worth doing the same trick that ltrace does, and just
declare the destination parameters as void*
until we handle bad characters somehow, replacing
destination char pointers with void pointers
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2,6 +2,7 @@ * adding SIGTERM/SIGINT handlers, refactoring lt_run to check the latrace got killed * adding tests for latrace termination + * args - replacing destination strings with void pointers 2011-05-24 Jiri Olsa <olsajiri@gmail.com> * args - use isprint to decide whether to print the character, |