pgsql: Fix use-after-free introduced in 55ed3defc966

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

pgsql: Fix use-after-free introduced in 55ed3defc966

Álvaro Herrera
Fix use-after-free introduced in 55ed3defc966

Evidenced by failure under RELCACHE_FORCE_RELEASE (buildfarm member
prion).

Author: Amit Langote
Discussion: https://postgr.es/m/CA+HiwqGV=k_Eh4jBiQw66ivvdG+EUkrEYeHTYL1SvDj_YOYV0g@...

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/e4f2d4fe9269c3c9c33f5182d4c3c90f99587fb4

Modified Files
--------------
src/backend/commands/indexcmds.c | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)