Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
August 21, 2017 [Issue 17770] Null pointer access in CTFE code | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17770 Sönke Ludwig <sludwig@outerproduct.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |CTFE, ice -- |
August 21, 2017 [Issue 17770] Null pointer access in CTFE code | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17770 ag0aep6g@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ag0aep6g@gmail.com --- Comment #1 from ag0aep6g@gmail.com --- Slightly more reduced, and including a variant that throws an AssertError instead of segfaulting: ---- struct S { T* t; } struct T { string name; } S foo(string name) { return S(new T(name[0 .. $])); } int bar(string name) { version (segfault) size_t len = name.length; // segfault else version (asserterror) string n = name; // AssertError@ddmd/ctfeexpr.d(1854) return 0; } const S s = foo(""); enum b = bar(s.t.name); ---- -- |
March 20, 2018 [Issue 17770] Null pointer access in CTFE code | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17770 bitter.taste@gmx.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bitter.taste@gmx.com --- Comment #2 from bitter.taste@gmx.com --- DMD PR https://github.com/dlang/dmd/pull/8056 -- |
December 17, 2022 [Issue 17770] Null pointer access in CTFE code | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17770 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P3 -- |
March 06, 2023 [Issue 17770] Null pointer access in CTFE code | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17770 RazvanN <razvan.nitu1305@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |razvan.nitu1305@gmail.com Severity|normal |critical -- |
Copyright © 1999-2021 by the D Language Foundation