Details
-
Bug
-
Resolution: Cannot Reproduce
-
P3: Somewhat important
-
None
-
4.6.2, 5.0.1
-
None
-
CentOS 6.3 (Final) Linux kernel 2.6.32
Description
The following code leads to segmentation fault:
#include <QFile> #include <QtDebug> int main(int argc, char* argv[]) { QString file_name; QFile iut(file_name, new QObject()); for (int i = 0; i < 10; ++i) qDebug() << iut.readLine(); }
Attachments
For Gerrit Dashboard: QTBUG-27693 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
38086,5 | Prevent segfault on reading from unopened QFiles. | master | qt/qtbase | Status: ABANDONED | +2 | 0 |
43921,1 | Prevent segfault on reading from unopened QFiles. | dev | qt/qtbase | Status: ABANDONED | -2 | 0 |
43954,2 | Prevent segfault on reading from unopened QFiles. | stable | qt/qtbase | Status: ABANDONED | -1 | 0 |