mirror of
https://github.com/LCE-Hub/LCE-Emerald-Launcher.git
synced 2026-07-24 18:17:15 +00:00
two changes: 1. run_relay_proxy bound TcpListener to 0.0.0.0:61000. any LAN host could connect to this port and their bytes were piped to the upstream relay - no authentication of the local peer. changed to 127.0.0.1:61000 since the game process connects on loopback. 2. read_line read byte-by-byte into a Vec<u8> with no size cap. a malicious peer (relay or LAN) sending an unbounded line without \n could OOM the launcher. capped at 8 KiB (relay control lines are tiny - HOST/JOIN tokens + small id). |
||
|---|---|---|
| .. | ||
| capabilities | ||
| gen/schemas | ||
| icons | ||
| resources/DLC/Emerald Skin Pack | ||
| scripts | ||
| src | ||
| .gitignore | ||
| build.rs | ||
| Cargo.lock | ||
| Cargo.toml | ||
| tauri.conf.json | ||
| tauri.nightly.conf.json | ||