Some additional information:
This bug also causes a broken OpenSCAD:
https://github.com/openscad/openscad/issues/514
I've confirmed the 2 line change in stl_algo.h fixes the OpenSCAD problem.
Upstream bug report exists at http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58800
-- Torsten.
--
To U
Package: libstdc++-4.8-dev
Version: 4.8.2-1
Severity: important
Demo exploit:
#include
int main(int argc, char **argv) {
static int data[] = {3,5,4,1,0,2};
std::nth_element(data + 0, data + 3, data + 6, std::less());
}
Crashes:
g++ -std=c++11 test.cxx && ./a.out
Segmentation fau
2 matches
Mail list logo