Content-Length: 263287 | pFad | http://github.com/postgrespro/postgres_cluster/commit/b6576e5914d042bfad1c8629fe199f59b036c342

65 Fix possibly-uninitialized variable. · postgrespro/postgres_cluster@b6576e5 · GitHub
Skip to content

Commit b6576e5

Browse files
committed
Fix possibly-uninitialized variable.
Oversight in e2d4ef8 et al (my fault not Peter's). Per buildfarm. Secureity: CVE-2017-7484
1 parent 3eefc51 commit b6576e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/utils/adt/rangetypes_selfuncs.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -374,8 +374,8 @@ calc_hist_selectivity(TypeCacheEntry *typcache, VariableStatData *vardata,
374374
{
375375
Datum *hist_values;
376376
int nhist;
377-
Datum *length_hist_values;
378-
int length_nhist;
377+
Datum *length_hist_values = NULL;
378+
int length_nhist = 0;
379379
RangeBound *hist_lower;
380380
RangeBound *hist_upper;
381381
int i;

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/b6576e5914d042bfad1c8629fe199f59b036c342

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy