** Description changed:

+ [Impact]
+ 
+ the new sourcelist api in qapt forgets to do a size check after string 
editing, thus running into an assert on qstring::at(0) being called on an empty 
string.
+ this was resolved by making sure that the value passed to at() is actually a 
valid index.
+ 
+ [Test Case]
+ 
+ * edit /etc/apt/sources.list
+ * add a line consisting of two hash signs "##"
+ * save
+ * start muon-discover
+ * click sources tab at the top
+ * should not crash
+ 
+ [Regression Potential]
+ 
+ N/A. SourceEntry tests continue to pass, new test was added.
+ 
+ [Other Info]
+ 
+ N/A
+ 
+ ----
+ 
  The Ubuntu Error Tracker has been receiving reports about a problem
  regarding muon.  This problem was most recently seen with version
  2.2.0-0ubuntu3, the problem page at
  https://errors.ubuntu.com/problem/93fcb3147d466be239a79f223d19683695eb414e
  contains more details.

** Package changed: muon (Ubuntu) => qapt (Ubuntu)

** Also affects: qapt (Ubuntu Trusty)
   Importance: Undecided
       Status: New

** Also affects: qapt (Ubuntu Utopic)
   Importance: Undecided
       Status: New

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

Title:
  /usr/bin/muon-
  discover:6:__GI_raise:__GI_abort:qt_message_output:qt_message:qFatal

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qapt/+bug/1312043/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs

Reply via email to