Git commit cc77c7dc4bed2e87d725bb79a446a6af8b4dc81a by Jonathan Thomas. Committed on 14/09/2011 at 23:24. Pushed by jmthomas into branch '1.2'.
QGst::Caps::fromString() can return null if no caps are found for a particular string. Check this return value, rather than assuming it works and crashing. CCMAIL:[email protected] M +1 -1 utils/qapt-gst-helper/GstMatcher.cpp http://commits.kde.org/libqapt/cc77c7dc4bed2e87d725bb79a446a6af8b4dc81a diff --git a/utils/qapt-gst-helper/GstMatcher.cpp b/utils/qapt-gst-helper/GstMatcher.cpp index a1a4347..6527571 100644 --- a/utils/qapt-gst-helper/GstMatcher.cpp +++ b/utils/qapt-gst-helper/GstMatcher.cpp @@ -89,7 +89,7 @@ GstMatcher::GstMatcher(const QStringList &values) } QGst::CapsPtr caps = QGst::Caps::fromString(capsString); - if (caps->isEmpty()) { + if (!caps || caps->isEmpty()) { continue; } -- You received this bug notification because you are a member of Kubuntu Bugs, which is subscribed to qapt in Ubuntu. https://bugs.launchpad.net/bugs/847748 Title: qapt-gst-helper, segmentation fault searching codec for dragonplayer To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qapt/+bug/847748/+subscriptions -- kubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs
