SSHD - Do not attempt to free environ or its contents
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 16 Nov 2009 02:38:11 +0000 (18:38 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 16 Nov 2009 02:38:11 +0000 (18:38 -0800)
commit5f3ddf32fdc320f0507e2a9ce24137c83268becd
treeca3cda16651994401fb3c7435e67081696bc6056
parentf1de7f2b9d6ec3fa12c3fc145b2d2f088cae8648
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@les.ath.cx>
crypto/openssh/session.c