I have written a simple solution for this. Since, the filename with "/" results 
in coredump, which shouldnt be under any situation. I checked it for '/'. If 
filename contains '/' displayed a warning and changed the filename to default 
name ( which is also followed in case of any error ).
I wasnt very sure about how the application flow should be in this scenario, 
thus implemented this one.
Kindly let me know, in case of any better flow can be implemented.

Thanks.

** Attachment added: "patch.txt"
   
https://bugs.launchpad.net/ubuntu/+source/gnome-screenshot/+bug/949341/+attachment/3320917/+files/patch.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/949341

Title:
  gnome-screenshot crashes with core dump

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-screenshot/+bug/949341/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to