brewery

beer

public

A terminal worth pouring time into

Star0tarball
clone
ssh://git@git.notashelf.dev:33/notashelf/beer.git
fuzz/fuzz_targets/hex_decode.rsRust9 lines241 B
1
#![no_main]
2
3
use libfuzzer_sys::fuzz_target;
4
5
// XTGETTCAP capability names arrive hex-encoded; decode_hex must reject
6
// malformed input rather than panic.
7
fuzz_target!(|data: &[u8]| {
8
  let _ = beer_protocols::codec::decode_hex(data);
9
});