- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit224501e
committed
plpgsql's exec_assign_value() freed the old value of a variable before
copying/converting the new value, which meant that it failed badly on"var := var" if var is of pass-by-reference type. Fix this and a similarhazard in exec_move_row(); not sure that the latter can manifest before8.0, but patch it all the way back anyway. Per report from Dave Chapeskie.1 parent2b91c8c commit224501e
1 file changed
+30
-23
lines changedLines changed: 30 additions & 23 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 |
| - | |
| 6 | + | |
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
| |||
2665 | 2665 |
| |
2666 | 2666 |
| |
2667 | 2667 |
| |
2668 |
| - | |
2669 |
| - | |
2670 |
| - | |
2671 |
| - | |
2672 |
| - | |
2673 |
| - | |
2674 | 2668 |
| |
2675 | 2669 |
| |
2676 | 2670 |
| |
| |||
2690 | 2684 |
| |
2691 | 2685 |
| |
2692 | 2686 |
| |
2693 |
| - | |
2694 |
| - | |
| 2687 | + | |
| 2688 | + | |
| 2689 | + | |
| 2690 | + | |
2695 | 2691 |
| |
2696 |
| - | |
2697 |
| - | |
2698 |
| - | |
2699 |
| - | |
2700 |
| - | |
2701 |
| - | |
2702 |
| - | |
2703 |
| - | |
2704 |
| - | |
2705 |
| - | |
| 2692 | + | |
| 2693 | + | |
| 2694 | + | |
| 2695 | + | |
| 2696 | + | |
| 2697 | + | |
| 2698 | + | |
| 2699 | + | |
| 2700 | + | |
| 2701 | + | |
| 2702 | + | |
2706 | 2703 |
| |
2707 |
| - | |
2708 |
| - | |
| 2704 | + | |
| 2705 | + | |
2709 | 2706 |
| |
| 2707 | + | |
| 2708 | + | |
2710 | 2709 |
| |
2711 | 2710 |
| |
2712 | 2711 |
| |
| |||
3145 | 3144 |
| |
3146 | 3145 |
| |
3147 | 3146 |
| |
| 3147 | + | |
| 3148 | + | |
| 3149 | + | |
| 3150 | + | |
| 3151 | + | |
| 3152 | + | |
| 3153 | + | |
| 3154 | + | |
3148 | 3155 |
| |
3149 | 3156 |
| |
3150 | 3157 |
| |
| |||
3158 | 3165 |
| |
3159 | 3166 |
| |
3160 | 3167 |
| |
3161 |
| - | |
3162 |
| - | |
| 3168 | + | |
| 3169 | + | |
3163 | 3170 |
| |
3164 | 3171 |
| |
3165 | 3172 |
| |
|
0 commit comments
Comments
(0)