Description
While looking at those few remaining compiler warnings, I encountered code in safeBuffer::checkAndExpand like this:
if (size + 1 < bufferSize) return; // Make the new size twice the size of the new string requirement xsecsize_t newBufferSize = size * 2;
(We're dealing with unsigned quantities here.)
Shouldn't there be overflow checks everywhere?