forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit0fb6954
committed
Fix breakage of get_ps_display() in the PS_USE_NONE case.
Commit8c6d30f caused this function to fail to set *displenin the PS_USE_NONE code path. If the variable's previous valuehad been negative, that'd lead to a memory clobber at some callsites. We'd managed not to notice due to very thin test coverageof such configurations, but this appears to explain buildfarm memberlorikeet's recent struggles.Credit to Andrew Dunstan for spotting the problem. Back-patchto v13 where the bug was introduced.Discussion:https://postgr.es/m/136102.1648320427@sss.pgh.pa.us1 parent411b913 commit0fb6954
1 file changed
+1
-0
lines changedLines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
443 | 443 |
| |
444 | 444 |
| |
445 | 445 |
| |
| 446 | + | |
446 | 447 |
| |
447 | 448 |
| |
448 | 449 |
|
0 commit comments
Comments
(0)