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

Commit7d791ed

Browse files
committed
Fix pointer-arithmetic thinko in pg_stat_ssl patch.
Nasty memory-stomp bug in commit9029f4b. It's not apparent howthis survived even cursory testing :-(. Per report from Peter Holzer.
1 parent5533a27 commit7d791ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/postmaster/pgstat.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3024,7 +3024,7 @@ pgstat_read_current_status(void)
30243024
localappname+=NAMEDATALEN;
30253025
localactivity+=pgstat_track_activity_query_size;
30263026
#ifdefUSE_SSL
3027-
localsslstatus+=sizeof(PgBackendSSLStatus);
3027+
localsslstatus++;
30283028
#endif
30293029
localNumBackends++;
30303030
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp