GNOME Bugzilla – Bug 711070
Copying a symlink over another one segfaults
Last modified: 2013-10-29 15:10:34 UTC
Copying a symlink over another one (with the OVERWRITE flag) causes a segfault.
Created attachment 258441 [details] [review] gio: Clear error properly to prevent crash
Review of attachment 258441 [details] [review]: Looks good! Do you have a GNOME git account? ::: gio/gfile.c @@ +2506,3 @@ my_error->domain == G_IO_ERROR && my_error->code == G_IO_ERROR_EXISTS) { + g_clear_error (&my_error); Oops, yes.
(In reply to comment #2) > Review of attachment 258441 [details] [review]: > > Looks good! Do you have a GNOME git account? > Yes, I just got commit access to gvfs. What's the policy for committing to other (possibly closely related) projects?
(In reply to comment #3) > (In reply to comment #2) > > Review of attachment 258441 [details] [review] [details]: > > > > Looks good! Do you have a GNOME git account? > > > > Yes, I just got commit access to gvfs. What's the policy for committing to > other (possibly closely related) projects? Depends on the project, but with glib we try to peer review almost everything. But this patch is accepted-commit_now, so please push!
(In reply to comment #4) > (In reply to comment #3) > > (In reply to comment #2) > > > Review of attachment 258441 [details] [review] [details] [details]: > > > > > > Looks good! Do you have a GNOME git account? > > > > > > > Yes, I just got commit access to gvfs. What's the policy for committing to > > other (possibly closely related) projects? > > Depends on the project, but with glib we try to peer review almost everything. > But this patch is accepted-commit_now, so please push! Thanks. Pushed to master as 1a037b1 and stable as 685ff5c.