- (dtucker) [auth-pam.c groupaccess.c monitor.c monitor_wrap.c scard-opensc.c
   session.c ssh-rand-helper.c sshd.c openbsd-compat/bsd-cygwin_util.c
   openbsd-compat/setproctitle.c] Convert malloc(foo*bar) -> calloc(foo,bar)
   in Portable-only code; since calloc zeros, remove now-redundant memsets.
   Also add a couple of sanity checks.  With & ok djm@
11 files changed
tree: 186c431180b5e63c14733c5d92a5cdb988426fca
  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. bufbn.c
  47. buffer.c
  48. buffer.h
  49. buildpkg.sh.in
  50. canohost.c
  51. canohost.h
  52. ChangeLog
  53. channels.c
  54. channels.h
  55. cipher-3des1.c
  56. cipher-acss.c
  57. cipher-aes.c
  58. cipher-bf1.c
  59. cipher-ctr.c
  60. cipher.c
  61. cipher.h
  62. cleanup.c
  63. clientloop.c
  64. clientloop.h
  65. compat.c
  66. compat.h
  67. compress.c
  68. compress.h
  69. config.guess
  70. config.sub
  71. configure.ac
  72. crc32.c
  73. crc32.h
  74. CREDITS
  75. deattack.c
  76. deattack.h
  77. defines.h
  78. dh.c
  79. dh.h
  80. dispatch.c
  81. dispatch.h
  82. dns.c
  83. dns.h
  84. entropy.c
  85. entropy.h
  86. fatal.c
  87. fixpaths
  88. fixprogs
  89. getput.h
  90. groupaccess.c
  91. groupaccess.h
  92. gss-genr.c
  93. gss-serv-krb5.c
  94. gss-serv.c
  95. hostfile.c
  96. hostfile.h
  97. includes.h
  98. INSTALL
  99. install-sh
  100. kex.c
  101. kex.h
  102. kexdh.c
  103. kexdhc.c
  104. kexdhs.c
  105. kexgex.c
  106. kexgexc.c
  107. kexgexs.c
  108. key.c
  109. key.h
  110. LICENCE
  111. log.c
  112. log.h
  113. loginrec.c
  114. loginrec.h
  115. logintest.c
  116. mac.c
  117. mac.h
  118. Makefile.in
  119. match.c
  120. match.h
  121. md-sha256.c
  122. md5crypt.c
  123. md5crypt.h
  124. mdoc2man.awk
  125. misc.c
  126. misc.h
  127. mkinstalldirs
  128. moduli
  129. moduli.c
  130. monitor.c
  131. monitor.h
  132. monitor_fdpass.c
  133. monitor_fdpass.h
  134. monitor_mm.c
  135. monitor_mm.h
  136. monitor_wrap.c
  137. monitor_wrap.h
  138. msg.c
  139. msg.h
  140. myproposal.h
  141. nchan.c
  142. nchan.ms
  143. nchan2.ms
  144. opensshd.init.in
  145. OVERVIEW
  146. packet.c
  147. packet.h
  148. pathnames.h
  149. progressmeter.c
  150. progressmeter.h
  151. readconf.c
  152. readconf.h
  153. README
  154. README.dns
  155. README.platform
  156. README.privsep
  157. README.smartcard
  158. README.tun
  159. readpass.c
  160. RFC.nroff
  161. rijndael.c
  162. rijndael.h
  163. rsa.c
  164. rsa.h
  165. scard-opensc.c
  166. scard.c
  167. scard.h
  168. scp.1
  169. scp.c
  170. servconf.c
  171. servconf.h
  172. serverloop.c
  173. serverloop.h
  174. session.c
  175. session.h
  176. sftp-client.c
  177. sftp-client.h
  178. sftp-common.c
  179. sftp-common.h
  180. sftp-glob.c
  181. sftp-server.8
  182. sftp-server.c
  183. sftp.1
  184. sftp.c
  185. sftp.h
  186. ssh-add.1
  187. ssh-add.c
  188. ssh-agent.1
  189. ssh-agent.c
  190. ssh-dss.c
  191. ssh-gss.h
  192. ssh-keygen.1
  193. ssh-keygen.c
  194. ssh-keyscan.1
  195. ssh-keyscan.c
  196. ssh-keysign.8
  197. ssh-keysign.c
  198. ssh-rand-helper.8
  199. ssh-rand-helper.c
  200. ssh-rsa.c
  201. ssh.1
  202. ssh.c
  203. ssh.h
  204. ssh1.h
  205. ssh2.h
  206. ssh_config
  207. ssh_config.5
  208. ssh_prng_cmds.in
  209. sshconnect.c
  210. sshconnect.h
  211. sshconnect1.c
  212. sshconnect2.c
  213. sshd.8
  214. sshd.c
  215. sshd_config
  216. sshd_config.5
  217. sshlogin.c
  218. sshlogin.h
  219. sshpty.c
  220. sshpty.h
  221. sshtty.c
  222. survey.sh.in
  223. TODO
  224. ttymodes.c
  225. ttymodes.h
  226. uidswap.c
  227. uidswap.h
  228. uuencode.c
  229. uuencode.h
  230. version.h
  231. WARNING.RNG
  232. xmalloc.c
  233. xmalloc.h