Details
Description
Calling qUncompress() with corrupted data must return empty QByteArray, but ...
example
main.cpp
...
QByteArray ba("var Q");
ba = qUncompress(ba);
...
crash with message
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_allocThis application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
many variants of data, it is the shortest that I found.
under linux(Ubuntu 9.10) this is no problem.