# Update tree-sitter to 0.24 \(\#24492\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 72e1947025449448dc508fc3dbd4092355b0d522

Requested commit: 72e1947025449448dc508fc3dbd4092355b0d522

Commit: 72e1947025449448dc508fc3dbd4092355b0d522

Tree: 8d136a2aaefb3f4753d4365dabfe4468f038da62

Author: Liam Murphy

Committer: GitHub

## Message

```
Update tree-sitter to 0.24 (#24492)

I didn't update it to 0.25 because its Wasm support seems to be
partially broken due to
https://github.com/tree-sitter/tree-sitter/pull/3938: it didn't
introduce a check that the Wasm module's ABI is new enough to include
supertype info while parsing it, and so in the case where it isn't it
ends up interpreting random bytes as the number of supertypes, causing
out-of-bounds memory accesses.

Closes #24489

Release Notes:

- Fixed a rare crash during syntax highlighting
```

## Parents

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

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