View | Details | Raw Unified | Return to bug 223688
Collapse All | Expand All

(-)lang/luajit/files/patch-src_jit_bcsave.lua (+11 lines)
Line 0 Link Here
1
--- src/jit/bcsave.lua.orig	2017-05-01 18:11:00 UTC
2
+++ src/jit/bcsave.lua
3
@@ -275,7 +275,7 @@ typedef struct {
4
   o.sect[2].size = fofs(ofs)
5
   o.sect[3].type = f32(3) -- .strtab
6
   o.sect[3].ofs = fofs(sofs + ofs)
7
-  o.sect[3].size = fofs(#symname+1)
8
+  o.sect[3].size = fofs(#symname+2)
9
   ffi.copy(o.space+ofs+1, symname)
10
   ofs = ofs + #symname + 2
11
   o.sect[4].type = f32(1) -- .rodata

Return to bug 223688