qt5base-lts/tests/auto/tools
Olivier Goffart 27425e62c0 Moc: fix crash when a file ends with \\\r
make the 'cleaned' more robust by making sure we do not read past the
buffer in some cases. We must also use resize and not reserve on the
outpt buffer because reseve is meant as a hint and we are not supposed
to write past the size of the QByteArray even if it is reserved.

[ChangeLog][moc] Fixed crash on file ending with \\\r

Task-number: QTBUG-53441
Change-Id: I901e6c0ffc7f8877de3d07fd08cf26495461d294
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@theqtcompany.com>
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
2016-05-18 10:34:13 +00:00
..
moc Moc: fix crash when a file ends with \\\r 2016-05-18 10:34:13 +00:00
qdbuscpp2xml Update copyright headers 2015-02-11 06:49:51 +00:00
qdbusxml2cpp Update copyright headers 2015-02-11 06:49:51 +00:00
qmake qmake: teach findMocs to handle backslash-newline gracefully. 2015-12-17 13:47:33 +00:00
qmakelib add enablers for printing project errors in cumulative mode 2015-12-21 16:39:31 +00:00
rcc Update copyright headers 2015-02-11 06:49:51 +00:00
uic Generate QVariant::fromValue(enum_value) for enum values 2016-03-09 13:51:39 +00:00
tools.pro add test for the qmake library 2015-02-25 13:54:33 +00:00