# Merge pull request \#15985 from erikarvstedt/fix-arena-alloc · gitcafe/zig

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

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

Visibility: public

Requested revision: 8cf72cdfb13409aad9a5e2abc125a516e13c3aa6

Requested commit: 8cf72cdfb13409aad9a5e2abc125a516e13c3aa6

Commit: 8cf72cdfb13409aad9a5e2abc125a516e13c3aa6

Tree: 2b81891a33f5ef9b975314d42f690c4a7b211492

Author: Andrew Kelley

Committer: GitHub

## Message

```
Merge pull request #15985 from erikarvstedt/fix-arena-alloc

arena_allocator/reset: fix use after free, fix buffer overrun
```

## Parents

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

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

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