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

Commit4ae7f02

Browse files
committed
Fix thinko in allocation call during MVC list deserialization
Spotted by Coverity.
1 parent5a90740 commit4ae7f02

File tree

1 file changed

+1
-1
lines changed
  • src/backend/statistics

1 file changed

+1
-1
lines changed

‎src/backend/statistics/mcv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -908,7 +908,7 @@ statext_mcv_deserialize(bytea *data)
908908
* original values (it might go away).
909909
*/
910910
datalen=0;/* space for by-ref data */
911-
map= (Datum**)palloc(ndims*sizeof(Datum**));
911+
map= (Datum**)palloc(ndims*sizeof(Datum*));
912912

913913
for (dim=0;dim<ndims;dim++)
914914
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp