mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-20 13:23:08 +00:00
d90a3c0ca5
This commit syncs the patches applied to ltrace with debian: https://sources.debian.net/src/ltrace/0.7.3-5/debian/patches/ Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
19 lines
623 B
Diff
19 lines
623 B
Diff
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
|
|
|
|
|
|
--- ltrace-0.7.3.orig/printf.c
|
|
+++ ltrace-0.7.3/printf.c
|
|
@@ -168,7 +168,7 @@ form_next_param(struct param_enum *self,
|
|
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);
|