Commit Graph

1 Commits

Author SHA1 Message Date
Moritz Bunkus
3716e532ee memory_c::resize(): fix write to behind allocated block
If resizing down a non-free instance then we must copy at most as many
bytes as the new size allows for. Fixes #931.
2013-11-02 12:13:20 +01:00