- Notifications
You must be signed in to change notification settings - Fork5
Commit2fc80b9
committed
Add positive defense against trying to connect when the connection
option state hasn't been fully set up. This is possible via PQreset()and might occur in other code paths too, so a state flag seems themost robust solution. Per report from Arturs Zoldners.1 parent1cf13e6 commit2fc80b9
2 files changed
+16
-5
lines changedLines changed: 13 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
505 | 505 |
| |
506 | 506 |
| |
507 | 507 |
| |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
508 | 515 |
| |
509 | 516 |
| |
510 | 517 |
| |
| |||
729 | 736 |
| |
730 | 737 |
| |
731 | 738 |
| |
| 739 | + | |
| 740 | + | |
| 741 | + | |
732 | 742 |
| |
733 | 743 |
| |
734 | 744 |
| |
| |||
1814 | 1824 |
| |
1815 | 1825 |
| |
1816 | 1826 |
| |
| 1827 | + | |
| 1828 | + | |
1817 | 1829 |
| |
1818 | 1830 |
| |
1819 | 1831 |
| |
| |||
1838 | 1850 |
| |
1839 | 1851 |
| |
1840 | 1852 |
| |
1841 |
| - | |
1842 | 1853 |
| |
1843 | 1854 |
| |
1844 | 1855 |
| |
|
Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 |
| - | |
| 15 | + | |
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
| |||
276 | 276 |
| |
277 | 277 |
| |
278 | 278 |
| |
279 |
| - | |
280 |
| - | |
| 279 | + | |
281 | 280 |
| |
| 281 | + | |
282 | 282 |
| |
283 | 283 |
| |
284 | 284 |
| |
|
0 commit comments
Comments
(0)