simon-svn: putty: simon
Commits to Tartarus CVS repository.
tartarus-commits at lists.tartarus.org
Fri Jul 15 19:30:47 BST 2011
SVN root: svn://svn.tartarus.org/sgt
Changes by: simon
Revision: 9220
Date: 2011-07-15 19:30:47 +0100 (Fri, 15 Jul 2011)
Log message (8 lines):
Don't delete everything under a string-subkeyed primary key by using a
loop that fetches the next item using conf_get_str_strs and passing
the previous key as a parameter, because the previous key will have
been freed by the intervening conf_del_str_str. Instead, use the
technique of repeatedly using conf_get_str_nthstrkey with index 0 and
deleting what comes back, as PSCP and PSFTP do.
Spotted by Minefield with the aid of Jacob, or possibly vice versa.
Modified files:
U putty/settings.c
Links:
http://svn.tartarus.org/sgt/?rev=9220&view=rev
http://svn.tartarus.org/sgt/putty/settings.c?rev=9220&r1=9219&r2=9220
More information about the tartarus-commits
mailing list