forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit88800aa
committed
Ok. BTW Mr. Kataoka who is maintaing Japanese version of PostgreSQL
ODBC driver have found a bug in 6.3.2 pg_dump and have made patches.I confirmed that the same bug still exists in the current sourcetree. So I made up patches based on Kataoka's. Here are someexplanations.o fmtId() returns pointer to a static memory in it. In the meantimethere is a line where is fmtId() called twice without saving thefirst value returned by fmtId(). So second call to fmtId() willbreak the first one.o findTableByName() looks up a table by its name. if a table namecontanins upper letters or non ascii chars, fmtId() will returnsa name quoted in double quotes, which will not what findTableByName()wants. The result is SEG fault. -- Tatsuo Ishii t-ishii@sra.co.jp1 parent2618fcd commit88800aa
1 file changed
+19
-9
lines changedLines changed: 19 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
24 |
| - | |
| 24 | + | |
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
| |||
2435 | 2435 |
| |
2436 | 2436 |
| |
2437 | 2437 |
| |
2438 |
| - | |
| 2438 | + | |
| 2439 | + | |
| 2440 | + | |
2439 | 2441 |
| |
2440 | 2442 |
| |
2441 | 2443 |
| |
| |||
2506 | 2508 |
| |
2507 | 2509 |
| |
2508 | 2510 |
| |
| 2511 | + | |
| 2512 | + | |
2509 | 2513 |
| |
2510 | 2514 |
| |
2511 | 2515 |
| |
2512 |
| - | |
2513 |
| - | |
| 2516 | + | |
| 2517 | + | |
2514 | 2518 |
| |
2515 | 2519 |
| |
2516 | 2520 |
| |
| |||
2572 | 2576 |
| |
2573 | 2577 |
| |
2574 | 2578 |
| |
2575 |
| - | |
| 2579 | + | |
| 2580 | + | |
| 2581 | + | |
2576 | 2582 |
| |
2577 | 2583 |
| |
2578 | 2584 |
| |
2579 | 2585 |
| |
2580 | 2586 |
| |
2581 |
| - | |
| 2587 | + | |
2582 | 2588 |
| |
2583 | 2589 |
| |
2584 | 2590 |
| |
| |||
2659 | 2665 |
| |
2660 | 2666 |
| |
2661 | 2667 |
| |
| 2668 | + | |
| 2669 | + | |
2662 | 2670 |
| |
2663 |
| - | |
| 2671 | + | |
2664 | 2672 |
| |
2665 | 2673 |
| |
2666 | 2674 |
| |
2667 | 2675 |
| |
2668 | 2676 |
| |
2669 | 2677 |
| |
2670 | 2678 |
| |
| 2679 | + | |
| 2680 | + | |
2671 | 2681 |
| |
2672 | 2682 |
| |
2673 |
| - | |
2674 |
| - | |
| 2683 | + | |
| 2684 | + | |
2675 | 2685 |
| |
2676 | 2686 |
| |
2677 | 2687 |
| |
|
0 commit comments
Comments
(0)