Don't pass invalid strings to strcmp()
authorPeter Kümmel <syntheticpp@gmx.net>
Sat, 1 Dec 2012 11:21:20 +0000 (12:21 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 6 Dec 2012 15:45:52 +0000 (16:45 +0100)
commit24013d8a875e6279921af00d81e85c1f59731279
treee230c193dfe83b2a404bcdbf6a2f27f5b205f76b
parentc7dddf2ae5bf7ab94cb6fa571ffb160c16a1a879
Don't pass invalid strings to strcmp()

The address behind a string doesn't point to a string.

Change-Id: Ic54f652ae781fea278f60cc49d219c1c610ba29f
Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
tests/auto/corelib/tools/qarraydata/tst_qarraydata.cpp