Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcad1594

Browse files
committed
Fix possibly-uninitialized variable.
Oversight ine2d4ef8 et al (my fault not Peter's). Per buildfarm.Security:CVE-2017-7484
1 parentc928add commitcad1594

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
intnhist;
377-
Datum*length_hist_values;
378-
intlength_nhist;
377+
Datum*length_hist_values=NULL;
378+
intlength_nhist=0;
379379
RangeBound*hist_lower;
380380
RangeBound*hist_upper;
381381
inti;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp