- Notifications
You must be signed in to change notification settings - Fork16
Commit9a75c19

Sofia Kopikova
PGPRO-11098 add null-pointer check to ptrack_set_init_lsn() function
When ptrack extension is added to shared_preload_libraries, butptrack.map size is 0, we may encounter segmantation fault when callingptrack_backup_checkpoint_request_hook() function. This commit addsadditional null-pointer checks to ptrack_set_init_lsn() function calledby ptrack_backup_checkpoint_request_hook() to avoid this segfault1 parent08cf80d commit9a75c19
1 file changed
+4
-0
lines changedLines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
659 | 659 |
| |
660 | 660 |
| |
661 | 661 |
| |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
662 | 666 |
| |
663 | 667 |
| |
664 | 668 |
| |
|
0 commit comments
Comments
(0)