3 ms·
and they fixed a few Integer overflows - int size = inCapacity * sizeof(dictEntry); + if (inCapacity > (UINT_MAX / sizeof(dictEntry))) + return fal
by iunk 12y 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);