# Merge pull request \#19374 from ziglang/slice-by-len-safety · gitcafe/zig

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

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

Visibility: public

Requested revision: b5cef9e8b48e81fb1f3b56cb752bac95e6a2d44b

Requested commit: b5cef9e8b48e81fb1f3b56cb752bac95e6a2d44b

Commit: b5cef9e8b48e81fb1f3b56cb752bac95e6a2d44b

Tree: 40bf026cca4014c3d7502cd70f832ea807a3d0e9

Author: Andrew Kelley

Committer: GitHub

## Message

```
Merge pull request #19374 from ziglang/slice-by-len-safety

add OOB safety check for by-length slice of array
```

## Parents

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

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

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