Skip to content
Snippets Groups Projects
  1. Jan 02, 2025
  2. Jan 03, 2024
  3. Jan 16, 2023
  4. Jan 03, 2022
  5. Jan 04, 2021
  6. Jan 01, 2020
  7. Jan 01, 2019
  8. Nov 27, 2018
    • Tom de Vries's avatar
      [libbacktrace] Don't point to released memory in backtrace_vector_release · 6d760a01
      Tom de Vries authored
      When backtrace_vector_release is called with vec.size == 0, it releases the
      memory pointed at by vec.base.
      
      Set vec.base set to NULL if vec.size == 0 to ensure we don't point to released
      memory.
      
      Bootstrapped and reg-tested on x86_64.
      
      2018-11-27  Tom de Vries  <tdevries@suse.de>
      
      	* mmap.c (backtrace_vector_release): Same.
      	* unittest.c (test1): Add check.
      
      From-SVN: r266505
      6d760a01
    • Tom de Vries's avatar
      [libbacktrace] Avoid realloc with size == 0 in backtrace_vector_release · 0c155f24
      Tom de Vries authored
      As of C17, realloc with size 0 is marked as an obsolescent feature.
      
      Fix this in backtrace_vector_release by using free instead.
      
      Bootstrapped and reg-tested on x86_64.
      
      2018-11-27  Tom de Vries  <tdevries@suse.de>
      
      	* alloc.c (backtrace_vector_release): Handle vec->size == 0 using free
      	instead of realloc.
      	* Makefile.am (check_PROGRAMS): Add unittest.
      	* Makefile.in: Regenerate.
      	* unittest.c: New file.
      
      From-SVN: r266504
      0c155f24
  9. Jan 03, 2018
  10. Jan 01, 2017
  11. Sep 11, 2016
  12. Jan 04, 2016
  13. Jan 05, 2015
  14. Jan 02, 2014
  15. Jan 14, 2013
  16. Sep 17, 2012
    • Ian Lance Taylor's avatar
      libbacktrace/: · eff02e4f
      Ian Lance Taylor authored
      	* Initial implementation.
      
      ./:
      	* MAINTAINERS (Various Maintainers): Add libbacktrace.
      	* configure.ac (host_libs): Add libbacktrace.
      	(target_libraries): Add libbacktrace.
      	* Makefile.def (host_modules): Add libbacktrace.
      	(target_modules): Likewise.
      	* configure, Makefile.in: Rebuild.
      
      gcc/go:
      	* config-lang.in (target_libs): Add target-libbacktrace.
      
      From-SVN: r191397
      eff02e4f
Loading