aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Target/Query.zig
diff options
context:
space:
mode:
authorIgor Anić <igor.anic@gmail.com>2024-03-02 00:39:48 +0100
committerIgor Anić <igor.anic@gmail.com>2024-03-11 12:22:12 +0100
commit04e8bbd932c9ce9ac99230a656c8951c467d5b24 (patch)
treede49098bcca42adc48cab6ffe77490b79d486a7b /lib/std/Target/Query.zig
parentaf0502f6c4202df0223bcefa5121361c07680108 (diff)
downloadzig-04e8bbd932c9ce9ac99230a656c8951c467d5b24.tar.gz
zig-04e8bbd932c9ce9ac99230a656c8951c467d5b24.zip
std.tar: test buffers provided to the iterator
Tar header stores name in max 256 bytes and link name in max 100 bytes. Those are minimums for provided buffers. Error is raised during iterator init if buffers are not long enough. Pax and gnu extensions can store longer names. If such extension is reached during unpack and don't fit into provided buffer error is returned.
Diffstat (limited to 'lib/std/Target/Query.zig')
0 files changed, 0 insertions, 0 deletions