forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit94bc1c5
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 parent6bbf751 commit94bc1c5
1 file changed
+9
-5
lines changedLines changed: 9 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2465 | 2465 |
| |
2466 | 2466 |
| |
2467 | 2467 |
| |
2468 |
| - | |
2469 |
| - | |
2470 | 2468 |
| |
2471 | 2469 |
| |
2472 | 2470 |
| |
2473 |
| - | |
| 2471 | + | |
| 2472 | + | |
| 2473 | + | |
| 2474 | + | |
2474 | 2475 |
| |
2475 | 2476 |
| |
2476 |
| - | |
| 2477 | + | |
2477 | 2478 |
| |
2478 |
| - | |
| 2479 | + | |
2479 | 2480 |
| |
2480 | 2481 |
| |
2481 | 2482 |
| |
2482 | 2483 |
| |
2483 | 2484 |
| |
2484 | 2485 |
| |
| 2486 | + | |
2485 | 2487 |
| |
2486 | 2488 |
| |
| 2489 | + | |
| 2490 | + | |
2487 | 2491 |
| |
2488 | 2492 |
| |
2489 | 2493 |
| |
|
0 commit comments
Comments
(0)