diff options
author | Olivier Goffart <olivier.goffart@nokia.com> | 2010-08-10 08:54:26 (GMT) |
---|---|---|
committer | Olivier Goffart <olivier.goffart@nokia.com> | 2010-08-10 11:01:52 (GMT) |
commit | 2281a3a7a62a5a81de7fefaf0b84f130b16bd44f (patch) | |
tree | ab68f833eedc835679dc8417b76061cc4aeffd29 /src/corelib/corelib.pro | |
parent | 989879ae23dd5e2d10d84d8308ec279a1aed762c (diff) | |
download | Qt-2281a3a7a62a5a81de7fefaf0b84f130b16bd44f.zip Qt-2281a3a7a62a5a81de7fefaf0b84f130b16bd44f.tar.gz Qt-2281a3a7a62a5a81de7fefaf0b84f130b16bd44f.tar.bz2 |
QMetaObject::normalizeSignature avoid reading past the string in case of invalid signature given.
If passed "a(b", qNormalizeType would return a pointer to the \0 at the end
of the string. We would add \0 to the result (thinking it is ',' or ')' )
And continue to process the memory after the string.
Reviewed-by: Kent Hansen
Task-number: QT-1591
Diffstat (limited to 'src/corelib/corelib.pro')
0 files changed, 0 insertions, 0 deletions