# std: Fix typo in ELF section header iterator · gitcafe/zig

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

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

Visibility: public

Requested revision: c1c3212500377a8128f37a873a7845c6bf5993e6

Requested commit: c1c3212500377a8128f37a873a7845c6bf5993e6

Commit: c1c3212500377a8128f37a873a7845c6bf5993e6

Tree: c6e4d8d4cc5b779f5af9fe444f092e8175ae2506

Author: LemonBoy

Committer: Veikka Tuominen

## Message

```
std: Fix typo in ELF section header iterator

The code accidentally used the phdr offset instead of the shdr one while
iterating over the section headers.

Fixes #6338

```

## Parents

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

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