diff options
| author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2009-12-11 09:32:37 (GMT) |
|---|---|---|
| committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2009-12-11 09:32:37 (GMT) |
| commit | d99a9ffed96ac26ddada3eeb61c44e6ff8b93895 (patch) | |
| tree | 3e2bad4b9478bd8bbf1672232c8be0a4ee7ce485 /doc/src/snippets/code/src_script_qscriptclass.cpp | |
| parent | bc8e87016cfeb4a63151425bcd0f69f21a5fc1c1 (diff) | |
| download | Qt-d99a9ffed96ac26ddada3eeb61c44e6ff8b93895.zip Qt-d99a9ffed96ac26ddada3eeb61c44e6ff8b93895.tar.gz Qt-d99a9ffed96ac26ddada3eeb61c44e6ff8b93895.tar.bz2 | |
Avoid crash in QObject::connect() if class has no signals
If signalCount was 0, then indexOfSlotRelative would use -1 as the
lookup and read unitialized memory in the loop. This would cause a crash
in release on Windows.
Done-with: Olivier
Diffstat (limited to 'doc/src/snippets/code/src_script_qscriptclass.cpp')
0 files changed, 0 insertions, 0 deletions
