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

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


commit 4839c61e774e39382dfcb447b9f451bed21ef949
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/4839c61e774e39382dfcb447b9f451bed21ef949


-- 
DragonFly BSD source repository





More information about the Commits mailing list