Commit dd0feaa9 authored by Kati Kankaanpaa's avatar Kati Kankaanpaa
Browse files

Fix infinite loop in MIME classinfo parser in ActiveQt


MIME extensions are parsed starting from the end by finding the last
extension separator ':' and chopping off the end of the string. Now
only 'extension - 1' chars are chopped which leaves the last extension
separator in place causing an infinite loop where the same separator
is found round after round.

Fixed by chopping the extension separator also.

Change-Id: I3df6008ad53dbecc17ac98647aedab63bf848963
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Showing with 1 addition and 1 deletion
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