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

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


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

commit 27ab561fabd535f01d3aca869a606587e934a9a3
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/27ab561fabd535f01d3aca869a606587e934a9a3


-- 
DragonFly BSD source repository



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