qdbusxml2cpp: Check string length before checking for \r\n.
authorJon Severinsson <jon@severinsson.net>
Sat, 22 Dec 2012 22:45:15 +0000 (23:45 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 2 Jan 2013 12:53:15 +0000 (13:53 +0100)
commite2fb3f94e8133c32239edf157e3afac4d54028e5
tree4b3b3ae7b02da59c74225a09467c886ec94119b7
parentafa57146cb519f27d816a295dadb2f0e71733f4b
qdbusxml2cpp: Check string length before checking for \r\n.

Change-Id: I5370bae258933536ecf9785da95a9006fafc1a62
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
src/tools/qdbusxml2cpp/qdbusxml2cpp.cpp