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