Fix potential fault where -L/-R/-D could accept a string too long for our
authorjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Fri, 4 Mar 2005 01:54:56 +0000 (01:54 +0000)
committerjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Fri, 4 Mar 2005 01:54:56 +0000 (01:54 +0000)
commit116f2044b2ed89f13b29a45f04aac7a7f01e446a
treef97d94ec7b415deb01a91d1a02ba9a9fe075172e
parent019164b0b11617604e54d86a0ee66e17a2124273
Fix potential fault where -L/-R/-D could accept a string too long for our
portfwd[] array. (Not sure what would happen in this case, mind.)
Also modify -L/-R/-D code to cope with IPv4/IPv6 tunnels in saved settings.

git-svn-id: svn://svn.tartarus.org/sgt/putty@5440 cda61777-01e9-0310-a592-d414129be87e
cmdline.c