Bug 356733

Summary: False positive on QByteArray::startsWith()
Product: [Developer tools] krazy Reporter: Frederik Schwarzer <schwarzer>
Component: generalAssignee: Allen Winter <winter>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
URL: http://englishbreakfastnetwork.org/krazy/reports/kde-4.x/kdegames/libkdegames/index.html
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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 ***