Sanity checks that fix crash (fdo#36495)
Signed-off-by: Michael Meeks <michael.meeks@novell.com>
This commit is contained in:
committed by
Michael Meeks
parent
8eeea83cd2
commit
4f2582eda7
@@ -1263,11 +1263,15 @@ IMPL_LINK(UpdateDialog, selectionHandler, void *, EMPTYARG)
|
||||
}
|
||||
case DISABLED_UPDATE:
|
||||
{
|
||||
bInserted = showDescription( m_disabledUpdates[pos].aUpdateInfo );
|
||||
if ( !m_disabledUpdates.empty() )
|
||||
bInserted = showDescription( m_disabledUpdates[pos].aUpdateInfo );
|
||||
|
||||
if ( p->m_bIgnored )
|
||||
b.append( m_ignoredUpdate );
|
||||
|
||||
if ( m_disabledUpdates.empty() )
|
||||
break;
|
||||
|
||||
UpdateDialog::DisabledUpdate & data = m_disabledUpdates[ pos ];
|
||||
if (data.unsatisfiedDependencies.getLength() != 0)
|
||||
{
|
||||
|
Reference in New Issue
Block a user