Memory corruption when dynamically changing the size of a previously allocated buffer while its contents are being modified.