[Webkit-unassigned] [Bug 37826] [Qt] Crash in qsvghandler

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 4 16:33:14 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=37826





--- Comment #9 from Benjamin Poulain <benjamin.poulain at nokia.com>  2010-05-04 16:33:14 PST ---
The SVG handler is used here to load something that is not a SVG image. The
test for what can be read is quite simple:

bool QSvgIOHandler::canRead(QIODevice *device)
{
    QByteArray buf = device->peek(8);
    return buf.startsWith("\x1f\x8b") || buf.contains("<?xml") ||
buf.contains("<svg");
}

Maybe we should skip those image plugin for security reason?:
https://bugs.webkit.org/show_bug.cgi?id=38554

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list