Validate GDSII record sizes through one fallible path
Route every record read through size validation and report malformed payloads as parse errors instead of panicking. Apply metadata size constraints through the Record trait, hide Arrow reader internals, and remove unused wrappers and scratch code. Add coverage for direct, skipped, and payload reads, truncated buffers, and FFI error offsets.
This commit is contained in:
parent
a384bb2f89
commit
54aa757678
1 changed files with 168 additions and 150 deletions
|
|
@ -1,7 +1,7 @@
|
|||
pub mod basic;
|
||||
pub mod record;
|
||||
pub mod records;
|
||||
pub mod elements;
|
||||
mod elements;
|
||||
pub mod library;
|
||||
pub mod review;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue