- djm@cvs.openbsd.org 2006/03/25 00:05:41
     [auth-bsdauth.c auth-skey.c auth.c auth2-chall.c channels.c]
     [clientloop.c deattack.c gss-genr.c kex.c key.c misc.c moduli.c]
     [monitor.c monitor_wrap.c packet.c scard.c sftp-server.c ssh-agent.c]
     [ssh-keyscan.c ssh.c sshconnect.c sshconnect2.c sshd.c uuencode.c]
     [xmalloc.c xmalloc.h]
     introduce xcalloc() and xasprintf() failure-checked allocations
     functions and use them throughout openssh

     xcalloc is particularly important because malloc(nmemb * size) is a
     dangerous idiom (subject to integer overflow) and it is time for it
     to die

     feedback and ok deraadt@
27 files changed
tree: 098295eee2d7ec7b116b0db3ac4b580713dd5ab0
  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. md-sha256.c
  121. md5crypt.c
  122. md5crypt.h
  123. mdoc2man.awk
  124. misc.c
  125. misc.h
  126. mkinstalldirs
  127. moduli
  128. moduli.c
  129. monitor.c
  130. monitor.h
  131. monitor_fdpass.c
  132. monitor_fdpass.h
  133. monitor_mm.c
  134. monitor_mm.h
  135. monitor_wrap.c
  136. monitor_wrap.h
  137. msg.c
  138. msg.h
  139. myproposal.h
  140. nchan.c
  141. nchan.ms
  142. nchan2.ms
  143. opensshd.init.in
  144. OVERVIEW
  145. packet.c
  146. packet.h
  147. pathnames.h
  148. progressmeter.c
  149. progressmeter.h
  150. readconf.c
  151. readconf.h
  152. README
  153. README.dns
  154. README.platform
  155. README.privsep
  156. README.smartcard
  157. README.tun
  158. readpass.c
  159. RFC.nroff
  160. rijndael.c
  161. rijndael.h
  162. rsa.c
  163. rsa.h
  164. scard-opensc.c
  165. scard.c
  166. scard.h
  167. scp.1
  168. scp.c
  169. servconf.c
  170. servconf.h
  171. serverloop.c
  172. serverloop.h
  173. session.c
  174. session.h
  175. sftp-client.c
  176. sftp-client.h
  177. sftp-common.c
  178. sftp-common.h
  179. sftp-glob.c
  180. sftp-server.8
  181. sftp-server.c
  182. sftp.1
  183. sftp.c
  184. sftp.h
  185. ssh-add.1
  186. ssh-add.c
  187. ssh-agent.1
  188. ssh-agent.c
  189. ssh-dss.c
  190. ssh-gss.h
  191. ssh-keygen.1
  192. ssh-keygen.c
  193. ssh-keyscan.1
  194. ssh-keyscan.c
  195. ssh-keysign.8
  196. ssh-keysign.c
  197. ssh-rand-helper.8
  198. ssh-rand-helper.c
  199. ssh-rsa.c
  200. ssh.1
  201. ssh.c
  202. ssh.h
  203. ssh1.h
  204. ssh2.h
  205. ssh_config
  206. ssh_config.5
  207. ssh_prng_cmds.in
  208. sshconnect.c
  209. sshconnect.h
  210. sshconnect1.c
  211. sshconnect2.c
  212. sshd.8
  213. sshd.c
  214. sshd_config
  215. sshd_config.5
  216. sshlogin.c
  217. sshlogin.h
  218. sshpty.c
  219. sshpty.h
  220. sshtty.c
  221. survey.sh.in
  222. TODO
  223. ttymodes.c
  224. ttymodes.h
  225. uidswap.c
  226. uidswap.h
  227. uuencode.c
  228. uuencode.h
  229. version.h
  230. WARNING.RNG
  231. xmalloc.c
  232. xmalloc.h