DragonFly BSD
DragonFly commits List (threaded) for 2012-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: Fix a few bugs in the new ktrdump code


From: Aggelos Economopoulos <aggelos@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 16 Jan 2012 13:57:32 -0800 (PST)

commit 485076fb784cffb6eec182d0280a8ead5b0195fe
Author: Aggelos Economopoulos <aoiko@cc.ece.ntua.gr>
Date:   Mon Jan 16 12:57:05 2012 -0800

    Fix a few bugs in the new ktrdump code
    
    - Pass in the correct machine_valist pointer on i386 (which means we need
      some indirection on x86_64).
    - Keep references to all memory blocks that we allocate and free them
      when we're done with the machine_valist.
    - Make sure we don't leak any memory on the error paths either.

Summary of changes:
 usr.bin/ktrdump/ktrdump.c |   80 +++++++++++++++++++++++++++++++++++++-------
 1 files changed, 67 insertions(+), 13 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/485076fb784cffb6eec182d0280a8ead5b0195fe


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]