Closed vgene closed 4 years ago
The original code has a bug - deref a dangling pointer - that will lead to undefined behavior.
Minimal example: https://godbolt.org/z/KcxKe3
The original code has a bug - deref a dangling pointer - that will lead to undefined behavior.
Minimal example: https://godbolt.org/z/KcxKe3