Grapevine is a Matrix homeserver, forked from Conduit 0.7.0
Find a file
Olivia Lee 103a4fb56b
handle media keys where thumbnail size contains 0xFF
Our current code should never write these, because we have an allowlist
of thumbnail sizes. None of the allowed sizes contain a 0xFF byte. We
have observed keys with a 0xFF in the thumbnail size a couple times on
real servers, and believe an early version of conduit wrote these before
the allowlist was added.

These keys were originally handled correctly, and were broken by
e2cba15ed2. Before that commit, we were
parsing media keys backwards, and never tried to read the thumbnail size
or mxc url.
2024-11-27 22:15:07 -08:00
bin use all-features devshell for clippy/all in CI 2024-05-30 21:19:08 -07:00
book update rust dependencies 2024-11-18 11:07:23 -08:00
nix add flake output for the website root 2024-11-22 11:21:39 -08:00
src handle media keys where thumbnail size contains 0xFF 2024-11-27 22:15:07 -08:00
tests/integrations make all caches individually configurable 2024-11-01 14:25:52 -07:00
.envrc optionally use nom to build devshell dependencies 2024-05-30 21:19:09 -07:00
.gitignore set up mdbook 2024-06-16 20:23:18 -07:00
.gitlab-ci.yml add flake output for the website root 2024-11-22 11:21:39 -08:00
.lycheeignore set up mdbook 2024-06-16 20:23:18 -07:00
.mailmap update name and email in mailmap 2024-11-16 21:15:16 -08:00
.markdownlintignore set up mdbook 2024-06-16 20:23:18 -07:00
book.toml add flake output for the website root 2024-11-22 11:21:39 -08:00
Cargo.lock update rust dependencies 2024-11-18 11:07:23 -08:00
Cargo.toml update rust dependencies 2024-11-18 11:07:23 -08:00
clippy.toml enable doc_markdown lint 2024-05-14 16:34:10 -07:00
default.nix feat: support non-flake users 2024-02-01 19:19:56 -08:00
engage.toml set up mdbook 2024-06-16 20:23:18 -07:00
flake.lock update flake.lock 2024-11-18 11:07:19 -08:00
flake.nix add flake output for the website root 2024-11-22 11:21:39 -08:00
LICENSE.md convert license to markdown 2024-04-30 21:54:56 -07:00
README.md oops, i dropped my fork 2024-09-20 16:52:05 -07:00
rust-toolchain.toml Update MSRV to 1.81.0 2024-09-08 09:54:08 -07:00
rustfmt.toml enable error_on_line_overflow and fix errors 2024-05-16 19:11:40 -07:00

Grapevine

A Matrix homeserver.

Read the book

Click here to read the latest version.