Closed GoogleCodeExporter closed 8 years ago
reserve only reserves size not len + size ... inline char* reserve(size_t size) { if ( (first - buf) + len + size > capacity ) { size_t newCapacity = qMax(capacity, basicBlockSize); while (newCapacity < len + size ) newCapacity *= 2; if (newCapacity > capacity) { ...
Original issue reported on code.google.com by mediatronix on 7 Nov 2012 at 10:51
mediatronix
Thanks
Original comment by dbzhang...@gmail.com on 13 Nov 2012 at 6:01
dbzhang...@gmail.com
Original issue reported on code.google.com by
mediatronix
on 7 Nov 2012 at 10:51