diff options
author | Robert Griebl <rgriebl@trolltech.com> | 2009-09-10 14:14:59 (GMT) |
---|---|---|
committer | Robert Griebl <rgriebl@trolltech.com> | 2009-09-11 11:18:52 (GMT) |
commit | e2411ebd04bf9a55e6e3b24cc7886e597521d473 (patch) | |
tree | 76344082302b32f21977bd0b57e2546c8abed2a8 /src/gui/painting/qprintengine_ps_p.h | |
parent | a5a27973b1e4df62217ed510229b0d8dfa70e354 (diff) | |
download | Qt-e2411ebd04bf9a55e6e3b24cc7886e597521d473.zip Qt-e2411ebd04bf9a55e6e3b24cc7886e597521d473.tar.gz Qt-e2411ebd04bf9a55e6e3b24cc7886e597521d473.tar.bz2 |
Out of memory fix for qUncompress
qUncompress shouldn't crash when running out of memory, since it might deal
with buffers which are not under user control (same behavior as Qt 4.5).
It will however throw a std::bad_alloc exception if Qt is compiled with
exception handling.
Reviewed-by: Harald Fernengel
Reviewed-by: Ralf Engels
Reviewed-by: Lars Knoll
Diffstat (limited to 'src/gui/painting/qprintengine_ps_p.h')
0 files changed, 0 insertions, 0 deletions