[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Arbitrary memory reading with gmatch_aux upvalue
- From: Roberto Ierusalimschy <roberto@...>
- Date: Thu, 14 Jul 2016 16:09:21 -0300
> Using the debug library to manipulate the upvalues of C functions can
> lead to undesirable behaviour. While it is good to have a zoo of such
> cases, this example is far from the only animal in the zoo.
Anyway, I guess this animal is not among us anymore. Version 5.3.2
changed the implementation of gmatch. The third upvalue is no longer a
number, it is a userdata.
-- Roberto