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

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


From: Simon Schubert <corecode@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 16 Jul 2009 07:13:58 -0700 (PDT)

commit 2922fd2bd6788906dceed0495a001f3d31177256
Author: Simon Schubert <corecode@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@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



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