mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-28 07:37:19 +02:00
Fix possibly-uninitialized variable.
Oversight in e2d4ef8de
et al (my fault not Peter's). Per buildfarm.
Security: CVE-2017-7484
This commit is contained in:
parent
c928addfcc
commit
cad1594322
@ -374,8 +374,8 @@ calc_hist_selectivity(TypeCacheEntry *typcache, VariableStatData *vardata,
|
||||
{
|
||||
Datum *hist_values;
|
||||
int nhist;
|
||||
Datum *length_hist_values;
|
||||
int length_nhist;
|
||||
Datum *length_hist_values = NULL;
|
||||
int length_nhist = 0;
|
||||
RangeBound *hist_lower;
|
||||
RangeBound *hist_upper;
|
||||
int i;
|
||||
|
Loading…
Reference in New Issue
Block a user