forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit509da59
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 parente32cb8d commit509da59
1 file changed
+9
-5
lines changedLines changed: 9 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2428 | 2428 |
| |
2429 | 2429 |
| |
2430 | 2430 |
| |
2431 |
| - | |
2432 |
| - | |
2433 | 2431 |
| |
2434 | 2432 |
| |
2435 | 2433 |
| |
2436 |
| - | |
| 2434 | + | |
| 2435 | + | |
| 2436 | + | |
| 2437 | + | |
2437 | 2438 |
| |
2438 | 2439 |
| |
2439 |
| - | |
| 2440 | + | |
2440 | 2441 |
| |
2441 |
| - | |
| 2442 | + | |
2442 | 2443 |
| |
2443 | 2444 |
| |
2444 | 2445 |
| |
2445 | 2446 |
| |
2446 | 2447 |
| |
2447 | 2448 |
| |
| 2449 | + | |
2448 | 2450 |
| |
2449 | 2451 |
| |
| 2452 | + | |
| 2453 | + | |
2450 | 2454 |
| |
2451 | 2455 |
| |
2452 | 2456 |
| |
|
0 commit comments
Comments
(0)