mirror of
https://github.com/FluxaMedia/fluxa-core.git
synced 2026-08-18 21:18:16 +00:00
- Add fluxa-streaming-engine companion server (torrent start/stop, ffmpeg transcode/probe, OAuth token exchange) for the web build - Add SSRF guard restricting transcode/probe url param to http(s) loopback hosts, blocking file:// and remote-host abuse via ffmpeg - Add src/ffi.rs string-routed RPC dispatcher and wasm bindings - Add headless engine profile module and several FFI surface additions (scrobble plans, episode navigation, collections import/export) - Remove dead runtime::msg/update scaffolding and addon_transport trait - Remove fluxa_play.rs dev scratch binary (hardcoded scraper, not part of the product) - Reorder dv_rewrite.rs so implementation precedes its test module; strip decorative section dividers - Add docs/, fuzz/ targets, and a rewritten README - Fix .gitignore to cover fluxa-streaming-engine/target
11 lines
383 B
Rust
11 lines
383 B
Rust
#![no_main]
|
|
|
|
use fluxa_core::fuzz_targets::percent_decode_component;
|
|
use libfuzzer_sys::fuzz_target;
|
|
|
|
// Targets the exact bug class found by hand earlier: a '%' next to a
|
|
// multi-byte UTF-8 character panicking on a mid-character slice bound.
|
|
fuzz_target!(|data: &[u8]| {
|
|
let Ok(text) = std::str::from_utf8(data) else { return };
|
|
let _ = percent_decode_component(text);
|
|
});
|