- djm@cvs.openbsd.org 2006/01/05 23:43:53
     [misc.c]
     check that stdio file descriptors are actually closed before clobbering
     them in sanitise_stdfd(). problems occurred when a lower numbered fd was
     closed, but higher ones weren't. spotted by, and patch tested by
     Frédéric Olivié
2 files changed
tree: 0a2d2be8e6d5ba782ded80d3d4a9450f9f49b9b9
  1. contrib/
  2. openbsd-compat/
  3. regress/
  4. scard/
  5. .cvsignore
  6. aclocal.m4
  7. acss.c
  8. acss.h
  9. atomicio.c
  10. atomicio.h
  11. audit-bsm.c
  12. audit.c
  13. audit.h
  14. auth-bsdauth.c
  15. auth-chall.c
  16. auth-krb5.c
  17. auth-options.c
  18. auth-options.h
  19. auth-pam.c
  20. auth-pam.h
  21. auth-passwd.c
  22. auth-rh-rsa.c
  23. auth-rhosts.c
  24. auth-rsa.c
  25. auth-shadow.c
  26. auth-sia.c
  27. auth-sia.h
  28. auth-skey.c
  29. auth.c
  30. auth.h
  31. auth1.c
  32. auth2-chall.c
  33. auth2-gss.c
  34. auth2-hostbased.c
  35. auth2-kbdint.c
  36. auth2-none.c
  37. auth2-passwd.c
  38. auth2-pubkey.c
  39. auth2.c
  40. authfd.c
  41. authfd.h
  42. authfile.c
  43. authfile.h
  44. bufaux.c
  45. bufaux.h
  46. buffer.c
  47. buffer.h
  48. buildpkg.sh.in
  49. canohost.c
  50. canohost.h
  51. ChangeLog
  52. channels.c
  53. channels.h
  54. cipher-3des1.c
  55. cipher-acss.c
  56. cipher-aes.c
  57. cipher-bf1.c
  58. cipher-ctr.c
  59. cipher.c
  60. cipher.h
  61. cleanup.c
  62. clientloop.c
  63. clientloop.h
  64. compat.c
  65. compat.h
  66. compress.c
  67. compress.h
  68. config.guess
  69. config.sub
  70. configure.ac
  71. crc32.c
  72. crc32.h
  73. CREDITS
  74. deattack.c
  75. deattack.h
  76. defines.h
  77. dh.c
  78. dh.h
  79. dispatch.c
  80. dispatch.h
  81. dns.c
  82. dns.h
  83. entropy.c
  84. entropy.h
  85. fatal.c
  86. fixpaths
  87. fixprogs
  88. getput.h
  89. groupaccess.c
  90. groupaccess.h
  91. gss-genr.c
  92. gss-serv-krb5.c
  93. gss-serv.c
  94. hostfile.c
  95. hostfile.h
  96. includes.h
  97. INSTALL
  98. install-sh
  99. kex.c
  100. kex.h
  101. kexdh.c
  102. kexdhc.c
  103. kexdhs.c
  104. kexgex.c
  105. kexgexc.c
  106. kexgexs.c
  107. key.c
  108. key.h
  109. LICENCE
  110. log.c
  111. log.h
  112. loginrec.c
  113. loginrec.h
  114. logintest.c
  115. mac.c
  116. mac.h
  117. Makefile.in
  118. match.c
  119. match.h
  120. md5crypt.c
  121. md5crypt.h
  122. mdoc2man.awk
  123. misc.c
  124. misc.h
  125. mkinstalldirs
  126. moduli
  127. moduli.c
  128. monitor.c
  129. monitor.h
  130. monitor_fdpass.c
  131. monitor_fdpass.h
  132. monitor_mm.c
  133. monitor_mm.h
  134. monitor_wrap.c
  135. monitor_wrap.h
  136. msg.c
  137. msg.h
  138. myproposal.h
  139. nchan.c
  140. nchan.ms
  141. nchan2.ms
  142. opensshd.init.in
  143. OVERVIEW
  144. packet.c
  145. packet.h
  146. pathnames.h
  147. progressmeter.c
  148. progressmeter.h
  149. readconf.c
  150. readconf.h
  151. README
  152. README.dns
  153. README.platform
  154. README.privsep
  155. README.smartcard
  156. README.tun
  157. readpass.c
  158. RFC.nroff
  159. rijndael.c
  160. rijndael.h
  161. rsa.c
  162. rsa.h
  163. scard-opensc.c
  164. scard.c
  165. scard.h
  166. scp.1
  167. scp.c
  168. servconf.c
  169. servconf.h
  170. serverloop.c
  171. serverloop.h
  172. session.c
  173. session.h
  174. sftp-client.c
  175. sftp-client.h
  176. sftp-common.c
  177. sftp-common.h
  178. sftp-glob.c
  179. sftp-server.8
  180. sftp-server.c
  181. sftp.1
  182. sftp.c
  183. sftp.h
  184. ssh-add.1
  185. ssh-add.c
  186. ssh-agent.1
  187. ssh-agent.c
  188. ssh-dss.c
  189. ssh-gss.h
  190. ssh-keygen.1
  191. ssh-keygen.c
  192. ssh-keyscan.1
  193. ssh-keyscan.c
  194. ssh-keysign.8
  195. ssh-keysign.c
  196. ssh-rand-helper.8
  197. ssh-rand-helper.c
  198. ssh-rsa.c
  199. ssh.1
  200. ssh.c
  201. ssh.h
  202. ssh1.h
  203. ssh2.h
  204. ssh_config
  205. ssh_config.5
  206. ssh_prng_cmds.in
  207. sshconnect.c
  208. sshconnect.h
  209. sshconnect1.c
  210. sshconnect2.c
  211. sshd.8
  212. sshd.c
  213. sshd_config
  214. sshd_config.5
  215. sshlogin.c
  216. sshlogin.h
  217. sshpty.c
  218. sshpty.h
  219. sshtty.c
  220. survey.sh.in
  221. TODO
  222. ttymodes.c
  223. ttymodes.h
  224. uidswap.c
  225. uidswap.h
  226. uuencode.c
  227. uuencode.h
  228. version.h
  229. WARNING.RNG
  230. xmalloc.c
  231. xmalloc.h