# fix crash when casting undefined to slice · gitcafe/zig

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

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

Visibility: public

Requested revision: 0683bd8bf66c00d38f79d49319b5d80ac1f9a470

Requested commit: 0683bd8bf66c00d38f79d49319b5d80ac1f9a470

Commit: 0683bd8bf66c00d38f79d49319b5d80ac1f9a470

Tree: 14a189d75708cbca15b770fdb8b947fd0f0a62c5

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
fix crash when casting undefined to slice

also fix crash having to do with runtime allocated stack memory

```

## Parents

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

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