[Okular-devel] Review Request 122074: Fix crash when arguments().mimeType() is an invalid mimetype name.

David Faure faure at kde.org
Thu Jan 15 15:44:54 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/122074/
-----------------------------------------------------------

Review request for Okular and Albert Astals Cid.


Repository: okular


Description
-------

I have a JIRA bug report with a PDF attached, and mid-clicking the PDF
in konqueror leads to opening an okularpart with mimetype="application/x-octet-stream"
(the x- in there is very unusual, and unknown to shared-mime-info).
Fixed with null pointer checks.


Diffs
-----

  part.cpp 263f3ad0bd0945590463092df4efdcb9b9515e90 

Diff: https://git.reviewboard.kde.org/r/122074/diff/


Testing
-------

crashes without the patch, works with the patch.


Do I need to manually apply this to master or frameworks, or do you merge regularly?


Thanks,

David Faure

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/okular-devel/attachments/20150115/6f00463a/attachment.html>


More information about the Okular-devel mailing list