[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Debug, was: heap buffer overflow in luaH_realasize()
- From: Paul Ducklin <pducklin@...>
- Date: Tue, 23 May 2023 18:59:58 +0000
Naive question, but to be clear (topic was “danger of debug.setlocal”)…
If you run these lines of code at the top of your program…
package.loaded.debug = nil
debug = nil
…then you are safe (from yourself, at least), right?
You could, I suppose, load your own non-standard, standalone external debug module later on, but you couldn’t accidentally (or even deliberately) reactivate the built-in debug library with Lua code alone… could you?