diff options
author | Alex Orlenko <zxteam@protonmail.com> | 2022-12-09 23:55:38 +0000 |
---|---|---|
committer | Alex Orlenko <zxteam@protonmail.com> | 2022-12-09 23:55:38 +0000 |
commit | 97169185175c52f87fe64d004980105adadc1998 (patch) | |
tree | ea0b2e418720d831c95df92a3696d61ef2b57e08 /tests/value.rs | |
parent | c88417a3b6585885d069ff9043cc54e799fbcb33 (diff) | |
download | mlua-97169185175c52f87fe64d004980105adadc1998.zip |
Fix lifetime of `DebugNames` in `Debug::names()` and `DebugSource` in `Debug::source()`.
This can cause use-after-free if used wrong.
Now invalid code would not compile.
Reported in #230
Diffstat (limited to 'tests/value.rs')
0 files changed, 0 insertions, 0 deletions