Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
3.1.0 (rev.02)
-
None
-
Windows 11 Pro
Visual Studio 2022, version 17.9.6
Description
when code like the following is executed when the Visual C++ is set to
/fsanitize=address /RTCs /Zi /INCREMENTAL:NO
it does not catch the buffer overflow but only when done right after a QDialog::exec():
void MyMainWindow::runDialog() { char y[10]; y[35] = 55; // THIS OVERFLOW caught by debugger auto m = new MyDialog(); m->exec(); char x[10]; x[35] = 55; // THIS OVERFLOW NOT caught by debugger }