Skip to content

Commit 7acf4f1

Browse files
committed
PGPRO-2540: Fix another uninitialized memory area
1 parent 4ae2081 commit 7acf4f1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ruminsert.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -789,6 +789,7 @@ rumHeapTupleInsert(RumState * rumstate, OffsetNumber attnum,
789789
NameStr(attr->attname));
790790
}
791791

792+
memset(&insert_item, 0, sizeof(insert_item));
792793
insert_item.iptr = *item;
793794
insert_item.addInfo = addInfo[i];
794795
insert_item.addInfoIsNull = addInfoIsNull[i];

0 commit comments

Comments
 (0)