mirror of
https://github.com/avrdudes/avrdude.git
synced 2026-09-29 04:18:54 +03:00
Assign TAG_ALLOCATED in m->put()
This commit is contained in:
@@ -271,6 +271,7 @@ int avr_initmem(const AVRPART *p);
|
||||
if (offset + len > (unsigned)$self->size)
|
||||
len = $self->size - offset;
|
||||
memcpy($self->buf + offset, in, len);
|
||||
memset($self->tags + offset, TAG_ALLOCATED, len);
|
||||
return len;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user