Re: [PATCH] Fix segmentation fault and infinite loop in jsonb_{plperl,plpython}

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Aleksander Alekseev <aleksander@tigerdata.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2026-06-17T15:05:30Z
Lists: pgsql-hackers
Aleksander Alekseev <aleksander@tigerdata.com> writes:
> OK, that's fair enough. Here is the corrected patch.

Pushed with some comments added.

			regards, tom lane



Commits

  1. hstore_plperl: Add CHECK_FOR_INTERRUPTS() in reference-unwinding loop.

  2. jsonb_plperl, jsonb_plpython: Fix unguarded recursion and loops.