Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: bombela/backward-cpp
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: ogdf/backward-cpp
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 8 commits
  • 1 file changed
  • 4 contributors

Commits on Aug 24, 2016

  1. Fix memory leak in linux demangler

    The __cxa_demangle() call was leaking the demangled name buffer
    (Confirmed by valgrind).
    
    If I understood the __cxa_demangle() docs right, the issue was that you were
    mixing the two operating modes (User buffer vs __cxa_demangle()
    allocated buffer).
    You passed a garbage pointer to __cxa_demangle(), which expects null
    or a pointer to a malloc() allocated block of *size* bytes. Note also size is
    0 in your implementation. Basically the leak comes from __cxa_demangle() doing a
    realloc() on your garbage pointer.
    
    The fix is as simple as telling __cxa_demangle() to allocate the buffer
    itself.
    
    Just for reference, here is the __cxa_demangle() documentation
    explaining this behavior:
    
    https://gcc.gnu.org/onlinedocs/libstdc++/libstdc++-html-USERS-4.3/a01696.html
    Manu343726 committed Aug 24, 2016
    Configuration menu
    Copy the full SHA
    ad611b9 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2016

  1. Configuration menu
    Copy the full SHA
    ed02483 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d9ccae0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0255399 View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2016

  1. Configuration menu
    Copy the full SHA
    7182ac5 View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2016

  1. Make StackTraceImpl*::skip_n_firsts() setter public

    When the stack trace is used directly (and not by a signal),
    one may want to hide some of the first stack items because
    they will always be the same calls.
    sbeyer committed Oct 28, 2016
    Configuration menu
    Copy the full SHA
    5eaddb6 View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2017

  1. Change typedef to using

    Ivo Hedtke authored and sbeyer committed Mar 5, 2017
    Configuration menu
    Copy the full SHA
    c15787f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    eb3ee96 View commit details
    Browse the repository at this point in the history
Loading