[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Meta function tables for LUA_FILEHANDLE: why two separate tables?
- From: bil til <biltil52@...>
- Date: Wed, 16 Nov 2022 12:09:23 +0100
Am Mi., 16. Nov. 2022 um 10:48 Uhr schrieb Sean Conner <sean@conman.org>:
>
> > print(io.stdout.close)
> function: 0x8066b1c
> > print(io.stdout.__index)
> nil
Thank you, this is an interesting point.
.. just more cosmetic I think? (or could a nasty and/or ingenious
hacker really do more harm, if the pointer address or existence of
__index is presented? ... if yes, would it make sense to hide ALL meta
functions like this, so also the close function?).