diff options
author | Alexey Neyman <stilor@att.net> | 2017-12-02 23:30:38 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-02 23:30:38 (GMT) |
commit | d917a29865876b913fe2939ee2a0728145e8543a (patch) | |
tree | 4e048ed57988306696efa3c5b81a80d48030e913 /packages/ltrace/0.7.3/0001-printf-p.patch | |
parent | e832b9b220f90b11b893e2815ceb37ec2b708683 (diff) | |
parent | 98bc4decdeab1361bdc585c86591718fb08c8ffb (diff) |
Merge pull request #874 from stilor/renumber-update-patches
Renumber & update patches
Diffstat (limited to 'packages/ltrace/0.7.3/0001-printf-p.patch')
-rw-r--r-- | packages/ltrace/0.7.3/0001-printf-p.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/packages/ltrace/0.7.3/0001-printf-p.patch b/packages/ltrace/0.7.3/0001-printf-p.patch new file mode 100644 index 0000000..6f2b59f --- /dev/null +++ b/packages/ltrace/0.7.3/0001-printf-p.patch @@ -0,0 +1,22 @@ +From: Juan Cespedes <cespedes@debian.org> +Description: Prevent freeing static-alloc'd memory for %p and %n in printf +Bug-Debian: http://bugs.debian.org/614994 +Forwarded: http://lists.alioth.debian.org/pipermail/ltrace-devel/2013-September/000953.html +Last-Update: 2014-01-02 + + +--- + printf.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/printf.c ++++ b/printf.c +@@ -168,7 +168,7 @@ + type_init_pointer(infop, array, 1); + + } else if (format_type == ARGTYPE_POINTER) { +- type_init_pointer(infop, elt_info, 1); ++ type_init_pointer(infop, elt_info, 0); + + } else { + *infop = *type_get_simple(format_type); |