GNOME Bugzilla – Bug 749462
Segfault copying from invalid mount point
Last modified: 2015-05-20 06:46:58 UTC
$ gvfs-copy --progress smb://host/unmounted/a smb://host/unmounted/b Segmentation fault (core dumped)
Created attachment 303459 [details] [review] client: Always set path[12]_out in create_proxy_for_file2 d59e6873086f ("Fix 'path[12]_out' leak in file_transfer()") assumed that path[12]_out were always set by create_proxy_for_file2 but this is not always the case. Fix it so that create_proxy_for_file2 always sets path[12]_out. To reproduce the bug: $ gvfs-copy --progress smb://host/unmounted/a smb://host/unmounted/b Segmentation fault (core dumped)
Review of attachment 303459 [details] [review]: Looks good!
Pushed to master as e7e6e1cde38f935e04e3e9d651eacf57557ff0c5 and stable as 725eaa2e33a842f812caf59af8a8766461bf9512. Thanks for the reviews!
Sorry, I commented on the wrong bug. But anyway, pushed to master as 7056e01cceea3e6a8970c1fc4637ad959e7cd3de. Thanks for the review!