forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit525b84c
committed
Fix use of already freed memory when dumping a database's security label.
pg_dump.c:dumDatabase() called ArchiveEntry() with the results of a aquery that was PQclear()ed a couple lines earlier.Backpatch to 9.2 where security labels for shared objects whereintroduced.1 parentff44fba commit525b84c
1 file changed
+9
-5
lines changedLines changed: 9 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2476 | 2476 |
| |
2477 | 2477 |
| |
2478 | 2478 |
| |
2479 |
| - | |
2480 |
| - | |
2481 | 2479 |
| |
2482 | 2480 |
| |
2483 | 2481 |
| |
2484 |
| - | |
| 2482 | + | |
| 2483 | + | |
| 2484 | + | |
| 2485 | + | |
2485 | 2486 |
| |
2486 | 2487 |
| |
2487 |
| - | |
| 2488 | + | |
2488 | 2489 |
| |
2489 |
| - | |
| 2490 | + | |
2490 | 2491 |
| |
2491 | 2492 |
| |
2492 | 2493 |
| |
2493 | 2494 |
| |
2494 | 2495 |
| |
2495 | 2496 |
| |
| 2497 | + | |
2496 | 2498 |
| |
2497 | 2499 |
| |
| 2500 | + | |
| 2501 | + | |
2498 | 2502 |
| |
2499 | 2503 |
| |
2500 | 2504 |
| |
|
0 commit comments
Comments
(0)