# HG changeset patch # User masneyb # Date 1102027412 0 # Node ID 4ab29ec829bf7a2d268a4aa10336b21f77ab0d2b # Parent 056c54ac52a0e2c4fe9956c139991374584a9a32 2004-12-2 Brian Masney * lib/sshv2.c (sshv2_rename) - fixed segfault that could occur (from Aurelien Jarno ) (closes #159963) diff -r 056c54ac52a0 -r 4ab29ec829bf ChangeLog --- a/ChangeLog Thu Dec 02 22:33:05 2004 +0000 +++ b/ChangeLog Thu Dec 02 22:43:32 2004 +0000 @@ -1,14 +1,17 @@ 2004-12-2 Brian Masney + * lib/sshv2.c (sshv2_rename) - fixed segfault that could occur (from + Aurelien Jarno ) (closes #159963) + * src/gtk/gtkui_transfer.c (gftpui_ask_transfer) - fixes for the first character of the filename being stripped off when it already existed on the remote side and it was being uploaded to the root directory. Note, the file truncation only occured in it being displayed to the user. It was not stripping the filename when it was being transfered (from - Aurelien Jarno ) (fixes #158713) + Aurelien Jarno ) (closes #158713) 2004-11-18 Dennis Cranston * src/gtk/options_dialog.c: GNOME HIG fixes for the GTK+2 - version of the Options and Add/Edit dialogs. (fixes #158642) + version of the Options and Add/Edit dialogs. (closes #158642) Changes for the Options dialog: * Use proper GNOME HIG widget spacing and padding @@ -3118,7 +3121,7 @@ * cvsclean - added this script - * *.[ch] - added $Id: ChangeLog,v 1.373 2004/12/02 22:33:04 masneyb Exp $ tags + * *.[ch] - added $Id: ChangeLog,v 1.374 2004/12/02 22:43:32 masneyb Exp $ tags * debian/* - updated files from Debian maintainer diff -r 056c54ac52a0 -r 4ab29ec829bf lib/sshv2.c --- a/lib/sshv2.c Thu Dec 02 22:33:05 2004 +0000 +++ b/lib/sshv2.c Thu Dec 02 22:43:32 2004 +0000 @@ -1598,7 +1598,7 @@ newstr = gftp_build_path (request, request->directory, newname, NULL); oldlen = strlen (oldstr); - newlen = strlen (newname); + newlen = strlen (newstr); len = oldlen + newlen + 12; tempstr = sshv2_initialize_string (request, len);