google / google/emboss

`CopyFrom()` on Structure Views Does Not Copy Parameters

Open
#210 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
92
Forks
30
PR merge metrics
No merged PRs in 30d

Description

`view.CopyFrom(other_view)` copies the underlying bytes, but does not copy any view parameters from `other_view`, which can leave `view` in an inconsistent state. This also affects `TryToCopyFrom()` and `UncheckedCopyFrom()`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.