summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qscopedpointer.h
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2009-12-11 09:32:37 (GMT)
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2009-12-11 09:32:37 (GMT)
commitd99a9ffed96ac26ddada3eeb61c44e6ff8b93895 (patch)
tree3e2bad4b9478bd8bbf1672232c8be0a4ee7ce485 /src/corelib/tools/qscopedpointer.h
parentbc8e87016cfeb4a63151425bcd0f69f21a5fc1c1 (diff)
downloadQt-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 'src/corelib/tools/qscopedpointer.h')
0 files changed, 0 insertions, 0 deletions