Bug 19860 – Memory corruption in nested templates

Status
NEW
Severity
critical
Priority
P2
Component
druntime
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2019-05-11T13:37:01Z
Last change time
2024-12-07T13:39:17Z
Assigned to
No Owner
Creator
Faissal bensefia
Moved to GitHub: dmd#17178 →

Comments

Comment #0 by faissaloo — 2019-05-11T13:37:01Z
https://github.com/faissaloo/uranium I was working on the above project and came across an issue where nesting my U!() template within the render() causes what seems to be a dangling pointer. Uncommenting the last test in component_tests.d demonstrates this issue.
Comment #1 by robert.schadek — 2024-12-07T13:39:17Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/17178 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB