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

git: hammer(8): Fix a wrong sizeof.


From: Sascha Wildner <swildner@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 17 Jun 2012 12:23:44 -0700 (PDT)

commit 4839c61e774e39382dfcb447b9f451bed21ef949
Author: Sascha Wildner <saw@online.de>
Date:   Sun Jun 17 21:21:15 2012 +0200

    hammer(8): Fix a wrong sizeof.
    
    Use the size passed to the malloc() here.
    
    Found-with: Coccinelle (http://coccinelle.lip6.fr/)

Summary of changes:
 sbin/hammer/cmd_mirror.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4839c61e774e39382dfcb447b9f451bed21ef949


-- 
DragonFly BSD source repository



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