fixed chunk_increment, fixes reuse of already assigned addresses
This commit is contained in:
@@ -66,7 +66,7 @@ static void increment_chunk(chunk_t chunk)
|
|||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
for (i = chunk.len - 1; i >= 0; i++)
|
for (i = chunk.len - 1; i >= 0; i--)
|
||||||
{
|
{
|
||||||
if (++chunk.ptr[i] != 0)
|
if (++chunk.ptr[i] != 0)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user