Y
Hacker News
new
|
ask
|
show
|
jobs
by
iunk
4245 days ago
and they fixed a few Integer overflows - int size = inCapacity * sizeof(dictEntry); + if (inCapacity > (UINT_MAX / sizeof(dictEntry))) + return false;
+ unsigned int size = inCapacity * sizeof(dictEntry);