mirror of
https://github.com/postgres/postgres.git
synced 2025-06-29 10:41:53 +03:00
"RETURN SQLERRM" prompted plpgsql_exec_function() to read from freed memory. Back-patch to 9.0 (all supported versions). Little code ran between the premature free and the read, so non-assert builds are unlikely to witness user-visible consequences.