Details
Description
Hello,
following code reliably causes a stack overflow (in QMoviePrivate::next), while the documentation indicates that jumpToFrame should just return false :
#include <QApplication> #include <QMovie> int main(int argc, char *argv[]) { QApplication a(argc, argv); QMovie movie; movie.setCacheMode(QMovie::CacheAll); movie.jumpToFrame(100); return a.exec(); }
Attachments
For Gerrit Dashboard: QTBUG-79029 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
276680,4 | Don't crash when calling jumpToFrame() on an empty QMovie | 5.13 | qt/qtbase | Status: MERGED | +2 | 0 |
276832,2 | Don't crash when calling jumpToFrame() on an empty QMovie | 5.14 | qt/qtbase | Status: MERGED | 0 | 0 |