| commit | ee8f3c8b37219ffccaba4f6df237b5c1a191af55 | [log] [tgz] |
|---|---|---|
| author | Maxim Dounin <mdounin@mdounin.ru> | Tue Feb 24 18:37:14 2015 +0300 |
| committer | Maxim Dounin <mdounin@mdounin.ru> | Tue Feb 24 18:37:14 2015 +0300 |
| tree | 565c6519980a400dc6ba7dd66479b0ed4ad75b93 | |
| parent | eff95dc1a5c125cfc218835ae9a73d4ab0b53a1d [diff] |
Core: fixed potential buffer overrun when initializing hash. Initial size as calculated from the number of elements may be bigger than max_size. If this happens, make sure to set size to max_size. Reported by Chris West.