# elf\+macho: append null to DWARF strtab to avoid overlapping sects · gitcafe/zig

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

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

Visibility: public

Requested revision: e675af06984d0709d308e3faf60b33cadadf2bbf

Requested commit: e675af06984d0709d308e3faf60b33cadadf2bbf

Commit: e675af06984d0709d308e3faf60b33cadadf2bbf

Tree: 02f4ecea2131478f58688cff124e4e88182263d9

Author: Jakub Konka

Committer: Jakub Konka

## Message

```
elf+macho: append null to DWARF strtab to avoid overlapping sects

Otherwise, we were risking having strtab zero-sized and overlap
with another section.

```

## Parents

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

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