git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 86ab28f) | patch
Fix uninitialized memory reference.
Fri, 1 Dec 2017 15:01:50 +0000 (10:01 -0500)
Fri, 1 Dec 2017 15:05:00 +0000 (10:05 -0500)
commit 59c8078744b5febf549c8b53171242cf667b87a1
Fix uninitialized memory reference.

Without this, when partdesc->nparts == 0, we end up calling
ExecBuildSlotPartitionKeyDescription without initializing values
and isnull.

Reported by Coverity via Michael Paquier. Patch by Michael Paquier,
reviewed and revised by Amit Langote.

Discussion: http://postgr.es/m/CAB7nPqQ3mwkdMoPY-ocgTpPnjd8TKOadMxdTtMLvEzF8480Zfg@mail.gmail.com
src/backend/executor/execPartition.c diff | blob | blame | history
src/test/regress/expected/insert.out diff | blob | blame | history
src/test/regress/sql/insert.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /