summaryrefslogtreecommitdiff
path: root/tests/value.rs
diff options
context:
space:
mode:
authorAlex Orlenko <zxteam@protonmail.com>2022-12-09 23:55:38 +0000
committerAlex Orlenko <zxteam@protonmail.com>2022-12-09 23:55:38 +0000
commit97169185175c52f87fe64d004980105adadc1998 (patch)
treeea0b2e418720d831c95df92a3696d61ef2b57e08 /tests/value.rs
parentc88417a3b6585885d069ff9043cc54e799fbcb33 (diff)
downloadmlua-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