Bug #1312043 reported by errors.ubuntu.com bug bridge on 2014-04-24
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qapt (Ubuntu)
Harald Sitter

Bug Description


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]



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.

description: updated
affects: muon (Ubuntu) → qapt (Ubuntu)
Harald Sitter (apachelogger) wrote :

  Uploading libqapt_2.1.70-0ubuntu4.1_source.changes: done.
Successfully uploaded packages.

pending sru approval

Changed in qapt (Ubuntu Trusty):
status: New → In Progress
importance: Undecided → High
assignee: nobody → Harald Sitter (apachelogger)
milestone: none → ubuntu-14.04.1
Changed in qapt (Ubuntu Utopic):
status: New → Fix Committed

Hello errors.ubuntu.com, or anyone else affected,

Accepted into trusty-proposed. The package will build now and be available in a few hours in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in qapt (Ubuntu Trusty):
status: In Progress → Fix Committed
tags: added: verification-needed
tags: added: kubuntu
Rohan Garg (rohangarg) wrote :

I can confirm that the mentioned test case in the bug report passes.

tags: added: verification-done
removed: verification-needed

The verification of the Stable Release Update for libqapt has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

Changed in qapt (Ubuntu Trusty):
status: Fix Committed → Fix Released
Rolf Leggewie (r0lf) wrote :

utopic has seen the end of its life and is no longer receiving any updates. Marking the utopic task for this ticket as "Won't Fix".

Changed in qapt (Ubuntu Utopic):
status: Fix Committed → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers