Commit 787aaa1f authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

Fix crash when adding big files and mkisofs is not installed

BUGS: 411969
parent 3800a64b
......@@ -289,7 +289,8 @@ void K3b::DataUrlAddingDialog::slotAddUrls()
m_unreadableFiles.append( url.toLocalFile() );
}
else if( isFile && (unsigned long long)statBuf.st_size >= 0xFFFFFFFFULL ) {
if ( !k3bcore->externalBinManager()->binObject( "mkisofs" )->hasFeature( "no-4gb-limit" ) ) {
const K3b::ExternalBin *mkisofsBin = k3bcore->externalBinManager()->binObject( "mkisofs" );
if ( !mkisofsBin || !mkisofsBin->hasFeature( "no-4gb-limit" ) ) {
valid = false;
m_tooBigFiles.append( url.toLocalFile() );
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment