- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit971566e
committed
Fix assertion on dereferenced object
Commit27cc7cd accidentally placed the assertion ensuringthat the pointer isn't NULL after it had already been accessed.Fix by moving the pointer dereferencing to after the assertion.Backpatch to all supported branches.Author: Dmitry Koval <d.koval@postgrespro.ru>Reviewed-by: Daniel Gustafsson <daniel@yesql.se>Reviewed-by: Michael Paquier <michael@paquier.xyz>Discussion:https://postgr.es/m/1618848d-cdc7-414b-9c03-08cf4bef4408@postgrespro.ruBackpatch-through: 131 parent8e58f80 commit971566e
1 file changed
+3
-1
lines changedLines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2533 | 2533 |
| |
2534 | 2534 |
| |
2535 | 2535 |
| |
2536 |
| - | |
| 2536 | + | |
2537 | 2537 |
| |
2538 | 2538 |
| |
2539 | 2539 |
| |
2540 | 2540 |
| |
2541 | 2541 |
| |
2542 | 2542 |
| |
| 2543 | + | |
| 2544 | + | |
2543 | 2545 |
| |
2544 | 2546 |
| |
2545 | 2547 |
| |
|
0 commit comments
Comments
(0)