- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit2647b24
committed
Fix possible "invalid memory alloc request size" failure in nodeHash.c.
Limit the size of the hashtable pointer array to not more thanMaxAllocSize. We've seen reports of failures due to this in HEAD/9.5,and it seems possible in older branches as well. The change inNTUP_PER_BUCKET in 9.5 may have made the problem more likely, butsurely it didn't introduce it.Tomas Vondra, slightly modified by me1 parent47ac95f commit2647b24
1 file changed
+4
-2
lines changedLines changed: 4 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
459 | 459 |
| |
460 | 460 |
| |
461 | 461 |
| |
462 |
| - | |
| 462 | + | |
463 | 463 |
| |
464 |
| - | |
| 464 | + | |
| 465 | + | |
465 | 466 |
| |
| 467 | + | |
466 | 468 |
| |
467 | 469 |
| |
468 | 470 |
| |
|
0 commit comments
Comments
(0)