Re: Fw: Re: heap_force_common in contrib/pg_surgery/heap_surgery.c has an off by one stack buffer overflow
surya poondla <suryapoondla4@gmail.com>
From: surya poondla <suryapoondla4@gmail.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: Ashutosh Sharma <ashu.coek88@gmail.com>,
"violin0613@tju.edu.cn" <violin0613@tju.edu.cn>, pgsql-bugs@postgresql.org
Date: 2026-06-06T01:08:45Z
Lists: pgsql-bugs
Hi Ashutosh, Michael, Thank you for raising great points. Yes, the "subtraction of 1" for index change looks good. Thank you Michael for pushing the code. Regards, Surya Poondla
Commits
-
pg_surgery: Fix off-by-one bug with heap offset
- 1eda3eb0753a 14 (unreleased) landed
- 51f63ba2bf7f 15 (unreleased) landed
- daf8bc7d41ac 16 (unreleased) landed
- 0bcf19c9e8fc 17 (unreleased) landed
- 2b09f8a9110a 18 (unreleased) landed
- 193a4ded9474 19 (unreleased) landed