forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitca11af2
Fix nbtree lookahead overflow bug.
Add bounds checking to nbtree's lookahead/skip-within-a-page mechanism.Otherwise it's possible for cases with lots of before-array-keys tuplesto overflow an int16 variable, causing the mechanism to generate an outof bounds page offset number.Oversight in commit5bf748b, which enhanced nbtree ScalarArrayOpexecution.Reported-By: Alexander Lakhin <exclusion@gmail.com>Discussion:https://postgr.es/m/6c68ac42-bbb5-8b24-103e-af0e279c536f@gmail.comBackpatch: 17-, where nbtree SAOP execution was enhanced.1 parentbac0f7e commitca11af2
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4091 | 4091 |
| |
4092 | 4092 |
| |
4093 | 4093 |
| |
4094 |
| - | |
| 4094 | + | |
4095 | 4095 |
| |
4096 | 4096 |
| |
4097 | 4097 |
| |
|
0 commit comments
Comments
(0)