forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit4f841ce

Amit Kapila
Use strlcpy instead of memcpy for copying the slot name in pgstat.c.
There is no outright bug here but it is better to be consistent with theusage at other places in the same file. In the passing, fix a wrongassertion in pgstat_recv_replslot.Author: Kyotaro HoriguchiReviewed-by: Sawada Masahiko and Amit KapilaDiscussion:https://postgr.es/m/20201104.175523.1704166915688949637.horikyota.ntt@gmail.com1 parentefc5dcf commit4f841ce
1 file changed
+7
-5
lines changedLines changed: 7 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1489 | 1489 |
| |
1490 | 1490 |
| |
1491 | 1491 |
| |
1492 |
| - | |
| 1492 | + | |
1493 | 1493 |
| |
1494 | 1494 |
| |
1495 | 1495 |
| |
| |||
1716 | 1716 |
| |
1717 | 1717 |
| |
1718 | 1718 |
| |
1719 |
| - | |
| 1719 | + | |
1720 | 1720 |
| |
1721 | 1721 |
| |
1722 | 1722 |
| |
| |||
1739 | 1739 |
| |
1740 | 1740 |
| |
1741 | 1741 |
| |
1742 |
| - | |
| 1742 | + | |
1743 | 1743 |
| |
1744 | 1744 |
| |
1745 | 1745 |
| |
| |||
6880 | 6880 |
| |
6881 | 6881 |
| |
6882 | 6882 |
| |
6883 |
| - | |
| 6883 | + | |
| 6884 | + | |
| 6885 | + | |
6884 | 6886 |
| |
6885 | 6887 |
| |
6886 | 6888 |
| |
| |||
7113 | 7115 |
| |
7114 | 7116 |
| |
7115 | 7117 |
| |
7116 |
| - | |
| 7118 | + | |
7117 | 7119 |
| |
7118 | 7120 |
| |
7119 | 7121 |
| |
|
0 commit comments
Comments
(0)