forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit7ba6ee8
committed
Add missed bms_copy() in perform_pruning_combine_step
We were initializing a BMS to merely reference an existing one, whichwould cause a double-free (and a crash) when the recursive algorithmtried to intersect it with an empty one. Fix it by creating a copy atinitialization time.Reported-by: sqlsmith (by way of Andreas Seltenreich)Author: Amit LangoteDiscussion:https://postgr.es/m/87in923lyw.fsf@ansel.ydns.eu1 parent2c19ea8 commit7ba6ee8
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2923 | 2923 |
| |
2924 | 2924 |
| |
2925 | 2925 |
| |
2926 |
| - | |
| 2926 | + | |
| 2927 | + | |
2927 | 2928 |
| |
2928 | 2929 |
| |
2929 | 2930 |
| |
|
0 commit comments
Comments
(0)