mirror of
https://github.com/postgres/postgres.git
synced 2025-05-06 19:59:18 +03: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…
x
Reference in New Issue
Block a user