Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
K3b
Commits
787aaa1f
Commit
787aaa1f
authored
Sep 16, 2019
by
Albert Astals Cid
Browse files
Fix crash when adding big files and mkisofs is not installed
BUGS: 411969
parent
3800a64b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/projects/k3bdataurladdingdialog.cpp
View file @
787aaa1f
...
...
@@ -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
()
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment