Bug 356733 - False positive on QByteArray::startsWith()
Summary: False positive on QByteArray::startsWith()
Status: RESOLVED DUPLICATE of bug 310262
Alias: None
Product: krazy
Classification: Developer tools
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Allen Winter
URL: http://englishbreakfastnetwork.org/kr...
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-15 13:10 UTC by Frederik Schwarzer
Modified: 2015-12-24 06:14 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frederik Schwarzer 2015-12-15 13:10:18 UTC
In libkdegames, you can find code like this:

QByteArray content = file.readAll();
if (!content.startsWith("<?xml") {[...]

See attached URL, check No. 30


Reproducible: Always
Comment 1 Frederik Schwarzer 2015-12-24 06:14:09 UTC

*** This bug has been marked as a duplicate of bug 310262 ***