M1: dalek 4, fuzzing and fixes, tsc-model with server flavor
- curve25519-dalek-ng -> curve25519-dalek 4. - fuzz/: cargo-fuzz targets for packets, commands and the license chain, plus a nightly workflow. Fixes for the panics they found: empty license, unchecked license property bounds, wrong index in the C2S audio invalid-codec error. - tsc-model: ServerVersion/ServerFlavor/Capabilities parsed from virtualserver_version; tsctl shows the flavor in the tree header. - CI lints every non-vendored crate via scripts/own-crates.sh. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NJvYyRmTjKcb9i8eyYXK5G
This commit is contained in:
1 parent
369cbde85d
commit
aa19afbcd0
24 files changed
+1835
-57
No files matched your search
@@ -51,3 +51,12 @@ against or offered back to upstream.
|
||||
`notifystreamsignaling`, `notifystreamclientjoined`, `notifystreamclientleft`) and
|
||||
commands (`setupstream`, `stopstream`, `streamsignaling`, `respondjoinstreamrequest`,
|
||||
`removeclientfromstream`). See `docs/protocol-notes/ts6-streaming.md`.
|
||||
5. **`curve25519-dalek-ng` → `curve25519-dalek` 4** (`tsproto-types`, `tsproto`). The `-ng`
|
||||
fork is unmaintained; the API is the same apart from the basepoint table being a
|
||||
reference. Verified by the license-chain unit tests and a live TeamSpeak 6 handshake.
|
||||
6. **Panics on malformed input found by fuzzing** (`fuzz/`):
|
||||
- `tsproto/src/license.rs`: an empty license (`initivexpand2 l=`) indexed `data[0]`;
|
||||
license properties indexed past the end or with start > end. All property reads
|
||||
are bounds-checked now.
|
||||
- `tsproto-packets/src/packets.rs`: the invalid-codec error for short C2S audio
|
||||
packets read `content[4]` instead of the codec byte `content[2]`.
|
||||
Reference in new issue
Block a user