Hello community, here is the log from the commit of package ltrace for openSUSE:Factory checked in at 2019-04-02 09:18:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ltrace (Old) and /work/SRC/openSUSE:Factory/.ltrace.new.25356 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ltrace" Tue Apr 2 09:18:22 2019 rev:40 rq:689797 version:0.7.91 Changes: -------- --- /work/SRC/openSUSE:Factory/ltrace/ltrace.changes 2019-01-11 14:00:36.632094688 +0100 +++ /work/SRC/openSUSE:Factory/.ltrace.new.25356/ltrace.changes 2019-04-02 09:18:23.652534565 +0200 @@ -1,0 +2,6 @@ +Thu Mar 28 11:18:58 UTC 2019 - Andreas Schwab <[email protected]> + +- lens-double-free.patch: fix double free of memory (bsc#1130664) +- Use %license + +------------------------------------------------------------------- New: ---- lens-double-free.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ltrace.spec ++++++ --- /var/tmp/diff_new_pack.4oo2yp/_old 2019-04-02 09:18:24.220535086 +0200 +++ /var/tmp/diff_new_pack.4oo2yp/_new 2019-04-02 09:18:24.224535090 +0200 @@ -47,6 +47,7 @@ Patch3: ppc-ptrace.patch Patch4: arm-trace.patch Patch5: gcc9-printf-s-null-argument.patch +Patch6: lens-double-free.patch %description Ltrace is a program that runs the specified command until it exits. It @@ -67,6 +68,7 @@ %patch3 -p1 %patch4 -p1 %patch5 +%patch6 -p1 %build ./autogen.sh @@ -100,7 +102,8 @@ %files %defattr(-,root,root) -%doc COPYING README +%doc README +%license COPYING %{_bindir}/ltrace %{_datadir}/ltrace %{_mandir}/man1/ltrace.1.gz ++++++ lens-double-free.patch ++++++ Index: ltrace-0.7.91/dwarf_prototypes.c =================================================================== --- ltrace-0.7.91.orig/dwarf_prototypes.c +++ ltrace-0.7.91/dwarf_prototypes.c @@ -300,11 +300,8 @@ static struct arg_type_info *get_enum(Dw value_destroy(value); \ free(value); \ } \ - if (lens != NULL) { \ - lens_destroy(&lens->super); \ - free(lens); \ - } \ if (result != NULL) { \ + /* This also frees lens. */ \ type_destroy(result); \ free(result); \ } \
