Skip to content

Commit

Permalink
Assign TAG_ALLOCATED in m->put()
Browse files Browse the repository at this point in the history
  • Loading branch information
dl8dtl committed Mar 21, 2024
1 parent 708403b commit 1ae394f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libavrdude.i
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 1ae394f

Please sign in to comment.