# src/ir.cpp: check return value of \`const_ptr_pointee\` to protect against dereferencing null pointers; · gitcafe/zig

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

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

Visibility: public

Requested revision: 0839ed1f945dbbe3ad1f780a5334ad16ad12fd5e

Requested commit: 0839ed1f945dbbe3ad1f780a5334ad16ad12fd5e

Commit: 0839ed1f945dbbe3ad1f780a5334ad16ad12fd5e

Tree: 0c5e1bf991b7183f443038be1be7db36c17bbe84

Author: kristopher tate

Committer: Andrew Kelley

## Message

```
src/ir.cpp: check return value of `const_ptr_pointee` to protect against dereferencing null pointers;

```

## Parents

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

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