# ir: Prevent crash when indexing undefined ptr to array · gitcafe/zig

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

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

Visibility: public

Requested revision: 096f79260b025ab53d77c4943f237676abb5b7d8

Requested commit: 096f79260b025ab53d77c4943f237676abb5b7d8

Commit: 096f79260b025ab53d77c4943f237676abb5b7d8

Tree: 448091adf4f32044febeceeec4f694313fbb8811

Author: LemonBoy

Committer: LemonBoy

## Message

```
ir: Prevent crash when indexing undefined ptr to array

Closes #4471

```

## Parents

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

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