# Sanitize ranges in code labels coming from extensions \(\#10307\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/cc367d43d62f0a063a5c47b3e2d7ab4b677efa1f)

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

Visibility: public

Requested revision: cc367d43d62f0a063a5c47b3e2d7ab4b677efa1f

Requested commit: cc367d43d62f0a063a5c47b3e2d7ab4b677efa1f

Commit: cc367d43d62f0a063a5c47b3e2d7ab4b677efa1f

Tree: d2251277fd0449fa78438efcfab9bbebe4fd2573

Author: Max Brunsfeld

Committer: GitHub

## Message

```
Sanitize ranges in code labels coming from extensions (#10307)

Without any sanitization, extensions would be able to crash zed, because
the editor code assumes these ranges are valid.

Release Notes:

- N/A
```

## Parents

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

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