- Notifications
You must be signed in to change notification settings - Fork28
Commit8b1bf31
committed
Protect against NULL-dereference in pg_dump
findTableByOid() is allowed to return NULL and we should therefore bechecking for that case. getOwnedSeqs() and dumpSequence() shouldn'tever actually see this happen, but given odd circumstances it might andcommitf9e439b probably shouldn't have removed that check.Pointed out by Coverity. Initial patch from Michael Paquier.Back-patch to 9.6, where that commit had removed the check.1 parent4103a2f commit8b1bf31
1 file changed
+8
-1
lines changedLines changed: 8 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6089 | 6089 |
| |
6090 | 6090 |
| |
6091 | 6091 |
| |
| 6092 | + | |
| 6093 | + | |
| 6094 | + | |
6092 | 6095 |
| |
6093 | 6096 |
| |
6094 | 6097 |
| |
| |||
16537 | 16540 |
| |
16538 | 16541 |
| |
16539 | 16542 |
| |
16540 |
| - | |
| 16543 | + | |
| 16544 | + | |
| 16545 | + | |
| 16546 | + | |
| 16547 | + | |
16541 | 16548 |
| |
16542 | 16549 |
| |
16543 | 16550 |
| |
|
0 commit comments
Comments
(0)