git: SSHD - Do not attempt to free environ or its contents

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Nov 15 18:40:31 PST 2009


commit 5f3ddf32fdc320f0507e2a9ce24137c83268becd
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Nov 15 18:38:11 2009 -0800

    SSHD - Do not attempt to free environ or its contents
    
    * DragonFly's libc manages environ in such a way that if sshd attempts to
      free it, libc blows up and causes sshd to crash.
    
    * This may not be the best fix but for now I really do not want to
      completely rewrite libc's environment handling code.
    
    Reported-by: YONETANI Tomokazu <qhwt+dfly at les.ath.cx>

Summary of changes:
 crypto/openssh/session.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5f3ddf32fdc320f0507e2a9ce24137c83268becd


-- 
DragonFly BSD source repository





More information about the Commits mailing list