diff options
author | Robert Haas <rhaas@postgresql.org> | 2017-12-01 10:01:50 -0500 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2017-12-01 10:05:00 -0500 |
commit | 59c8078744b5febf549c8b53171242cf667b87a1 (patch) | |
tree | 4f799e72d4f91958e60323cbe9122c624af89a2d /src/backend/executor/nodeModifyTable.c | |
parent | 86ab28fbd19a6a0742a7f66e69a595b61eb13d00 (diff) | |
download | postgresql-59c8078744b5febf549c8b53171242cf667b87a1.tar.gz postgresql-59c8078744b5febf549c8b53171242cf667b87a1.zip |
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
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions