Summary: | crash (SIGSEGV) upon changing default for last external application | ||
---|---|---|---|
Product: | [Applications] k3b | Reporter: | Pier Luigi Pau <pigipau> |
Component: | general | Assignee: | Sebastian Trueg <trueg> |
Status: | RESOLVED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Pier Luigi Pau
2006-09-09 21:01:05 UTC
SVN commit 582612 by trueg: Do not crash when changing last program's default bin. BUG: 133821 M +1 -1 k3bexternalbinwidget.cpp --- trunk/extragear/multimedia/k3b/src/option/k3bexternalbinwidget.cpp #582611:582612 @@ -288,7 +288,7 @@ // remove all default flags K3bExternalBinViewItem* bi = (K3bExternalBinViewItem*)item->parentProgramItem()->firstChild(); QListViewItemIterator it( bi ); - while( it.current()->parent() == item->parentProgramItem() ) { + while( it.current() && it.current()->parent() == item->parentProgramItem() ) { ((K3bExternalBinViewItem*)it.current())->setDefault(false); ++it; } |