Re: [PATCH] Fixed a segfault when unsinking 64-bit pointers.

  • From: Siddhesh Poyarekar <siddhesh@xxxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx, Thibault Charbonnier <thibaultcha@xxxxxxxxxxxx>
  • Date: Tue, 14 May 2019 22:20:56 +0530

On 11/05/19 8:03 AM, Thibault Charbonnier wrote:

Hello,

I don't believe this bug has been reported here yet.

A few weeks ago, Luke Gorrie and myself had fun investigating a segfault
in GC64 mode. The fix has been committed to RaptorJIT[1] and OpenResty's
fork of LuaJIT[2].

Attached are two patches: the fix itself and the test case committed to
luajit2-test-suite[3].

We hope that this patch makes it way upstream or into other existing
forks out there.

Thanks, I've added this to my tree and will have it included in Fedora
in my next update.

Siddhesh

Other related posts: