BUG/MEDIUM: lua/socket: Buffer error, may segfault
authorThierry FOURNIER <thierry.fournier@ozon.io>
Sat, 26 May 2018 23:14:47 +0000 (01:14 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 31 May 2018 08:58:41 +0000 (10:58 +0200)
commit66b8919b10d99b022a9105d4908974615c4bba3d
tree751d065fbe9da6f73b4057744b4dfd14a5b3b9bf
parent101b97619a5d0b45484a37395f1b22d064c806cb
BUG/MEDIUM: lua/socket: Buffer error, may segfault

The buffer pointer is already updated. It is again updated
when it is given to the function ci_putblk().

This patch must be backported in 1.6, 1.7 and 1.8
src/hlua.c