看板 DFBSD_commit 關於我們 聯絡資訊
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