Commands to reproduce bug:
cd /tmp/ #or any temporary directory
mkdir qgitbugreproduce; cd qgitbugreproduce
git init
touch test; git add test; git commit -m "initial commit" # Just a test commit
to create something for qgit to show
git branch --edit-description
#In the editor that opens, type one lineof text "Master branch"
qgit &
#Go to Edit > Settings . Dialog opens, no problem.
#Close Qgit
#Now to crash Qgit:
git branch --edit-description
#In the editor that opens, add a line of text below what we entered earlier, so
it should now look like this:
Master Branch
This will crash QGit
# Please edit the description for the branch
# master
# Lines starting with '#' will be stripped.
#Open Qgit with
qgit
#and try to open settings dialog
#You should get a segfault.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1221748
Title:
"Settings" dialog causes segfault when \n exists in .git/config
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qgit/+bug/1221748/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs