Обсуждение: pgsql: Fix uninitialized memory bug

Поиск
Список
Период
Сортировка

pgsql: Fix uninitialized memory bug

От
Alvaro Herrera
Дата:
Fix uninitialized memory bug

Have interested callers of find_inheritance_children set the
detached_exist value to false prior to calling it, so that that routine
only has to set it true in the rare cases where it is necessary.  Don't
touch it otherwise.

Per buildfarm member thorntail (which reported a UBSan failure here).

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/43b55ec4bc3bc06596d966391f16defe016310ec

Modified Files
--------------
src/backend/catalog/pg_inherits.c   | 5 +----
src/backend/partitioning/partdesc.c | 1 +
2 files changed, 2 insertions(+), 4 deletions(-)