mirror of
https://github.com/postgres/postgres.git
synced 2026-04-15 22:10:45 -04: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
db21581086
commit
a199582ef6
1 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue