You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, RegisterData and MemoryRegion panic in their FromIterator::from_iter implementations if:
the first item does not match the expected identifier
the iterator does not contain enough items
This is undesirable when handling possibly corrupted data. I propose adding a non-panicking way to build RegisterData and MemoryRegion objects from byte iterators
The text was updated successfully, but these errors were encountered:
hdoordt
changed the title
Fai
Fail gracefully on populating RegisterData and MemoryRegions from iterators
Aug 23, 2023
Currently,
RegisterData
andMemoryRegion
panic in theirFromIterator::from_iter
implementations if:This is undesirable when handling possibly corrupted data. I propose adding a non-panicking way to build
RegisterData
andMemoryRegion
objects from byte iteratorsThe text was updated successfully, but these errors were encountered: