diff options
author | João Abecasis <joao@abecasis.name> | 2009-04-23 11:44:00 +0200 |
---|---|---|
committer | João Abecasis <joao@abecasis.name> | 2009-04-23 15:28:12 +0200 |
commit | eb48c652475a11d32e8ce5fd7d42cea827656f10 (patch) | |
tree | 8fd7c10a147d0d8013bf6d3b307e4b2f68e7d983 /demos | |
parent | d913582c270f9f1039a3a788980360aadf39b286 (diff) | |
download | qt4-tools-eb48c652475a11d32e8ce5fd7d42cea827656f10.tar.gz |
Fixes for QByteArrayMatcher
Copy constructor and assignment operator lose data: pointer to content
and the length of content also need to be copied over.
QByteArrayMatcher::pattern() would return a null byte array if instance
was initialized with c-string.
Changed default constructor to explicitly initialize pattern length to
zero.
The bug in the assignment operator is a regression against 4.4.3.
Task-number: 251958
Reviewed-by: MariusSO
Reviewed-by: paul
Diffstat (limited to 'demos')
0 files changed, 0 insertions, 0 deletions