[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Heap overflow in luaH_get
- From: 云风 Cloud Wu <cloudwu@...>
- Date: Fri, 10 Jul 2020 02:07:53 +0800
Roberto Ierusalimschy <roberto@inf.puc-rio.br> 于2020年7月9日周四 下午10:02写道:
> so the object is still new and everything works fine. In the
> crashing code, the «setmetatable({}, ...)» looks like the metable
> is being set right after the «{}», but the code to create the
> metatable is long and slow, aging the table.
As Andrew Gierth said, the table is G_OLD1 and the metatable is white
and G_SURVIVAL. The age difference is strange.
How it happens ?