DragonFly-2.3.2.83.g2922fd master libexec/dma conf.c dma.c net.c

Simon Schubert corecode at crater.dragonflybsd.org
Thu Jul 16 07:15:36 PDT 2009


commit 2922fd2bd6788906dceed0495a001f3d31177256
Author: Simon Schubert <corecode at dragonflybsd.org>
Date:   Thu Jul 9 14:37:16 2009 +0200

    dma: various code hardening
    
    (as found by the Debian hardening wrapper)
    
    - check the result of fgets()
    - loop the network writes until the whole thing is sent
    - check one more write() result
    
    Submitted-by: Peter Pentchev <roam at ringlet.net>

Summary of changes:
 libexec/dma/conf.c |    9 ++++++---
 libexec/dma/dma.c  |    3 ++-
 libexec/dma/net.c  |   32 ++++++++++++++++++++++++--------
 3 files changed, 32 insertions(+), 12 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2922fd2bd6788906dceed0495a001f3d31177256


-- 
DragonFly BSD source repository





More information about the Commits mailing list