# link.Elf: Ensure archive header fields are not left blank · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/43eb9b52ccac894023800115e8395cdb413be14a)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 43eb9b52ccac894023800115e8395cdb413be14a

Requested commit: 43eb9b52ccac894023800115e8395cdb413be14a

Commit: 43eb9b52ccac894023800115e8395cdb413be14a

Tree: 66a3070f42960d9e7b8c1ec83b8e0043a6dd764a

Author: Carl Åstholm

Committer: Ryan Liptak

## Message

```
link.Elf: Ensure archive header fields are not left blank

ld.lld fails with "truncated or malformed archive" errors when reading
archive header field values that are not valid numbers.

```

## Parents

- [38d44404a589590e0443444f2206d7e9859b09fe](https://git.cafe/gitcafe/zig/commit/38d44404a589590e0443444f2206d7e9859b09fe?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/43eb9b52ccac894023800115e8395cdb413be14a?format=markdown)
