Thread overview | |||||
---|---|---|---|---|---|
|
August 16, 2021 [Issue 22219] core.lifetime emplace is unsafe with void[] override | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=22219 João Lourenço <jlourenco5691@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jlourenco5691@gmail.com -- |
August 16, 2021 [Issue 22219] core.lifetime emplace is unsafe with void[] override | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=22219 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #1 from Dlang Bot <dlang-bot@dlang.rocks> --- @iK4tsu updated dlang/druntime pull request #3545 "Fix Issue 22219 - core.lifetime emplace is unsafe with void[] override" fixing this issue: - core.lifetime: fix class only function emplace system cast from a void[] The emplace function is already making all the needed safety checks for casting. The cast only happens if both the length and alignment are compliant with the type requested, allowing it to be safe. Fix Issue 22219 - core.lifetime emplace is unsafe with void[] override Signed-off-by: João Lourenço <jlourenco5691@gmail.com> - core.lifetime: fix non class function emplace system casts from a void[] The emplace function is already making all the needed safety checks for casting. The cast only happens if both the length and alignment are compliant with the type requested, allowing it to be safe. Fix Issue 22219 - core.lifetime emplace is unsafe with void[] override Signed-off-by: João Lourenço <jlourenco5691@gmail.com> https://github.com/dlang/druntime/pull/3545 -- |
August 23, 2021 [Issue 22219] core.lifetime emplace is unsafe with void[] override | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=22219 RazvanN <razvan.nitu1305@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |razvan.nitu1305@gmail.com Resolution|--- |INVALID -- |
Copyright © 1999-2021 by the D Language Foundation