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

Commitd02c0dd

Browse files
committed
Fix missing parentheses resulting in wrong order of dereference.
This could result in referencing uninitialized memory.Michael Paquier, in response to a complaint from Andres Freund
1 parentb5763ce commitd02c0dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/access/heap/tuptoaster.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2156,7 +2156,7 @@ toast_open_indexes(Relation toastrel,
21562156
/* Fetch the first valid index in list */
21572157
for (i=0;i<*num_indexes;i++)
21582158
{
2159-
Relationtoastidx=*toastidxs[i];
2159+
Relationtoastidx=(*toastidxs)[i];
21602160
if (toastidx->rd_index->indisvalid)
21612161
{
21622162
res=i;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp