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

Sascha Wildner swildner at crater.dragonflybsd.org
Sun Jun 17 12:23:49 PDT 2012


commit 27ab561fabd535f01d3aca869a606587e934a9a3
Author: Sascha Wildner <saw at 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





More information about the Commits mailing list