You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to pick up the remaining fuzzing item. I have a local cargo-fuzz crate in fuzz/ (its own workspace, so stable cargo test/clippy are unaffected) with two targets:
jsonrpc_message: arbitrary bytes → ClientJsonRpcMessage / ServerJsonRpcMessage. Anything that parses must re-serialize, parse again, and serialize identically.
stdio_codec: chunked input into JsonRpcMessageCodec with a small max line length, covering partial reads and the discard path after an oversized line.
10 minutes per target locally (~28M and ~7M executions) found no crashes. Would you take this as a PR? And should it include a short CI fuzz job (e.g. scheduled, a few minutes per target), or should CI/OSS-Fuzz be a separate follow-up?
@jamadeo@DaleSeo Hello -all, I found this issue has not been resolved yet. Following the above reply, my implementation strategy is: Add an independent fuzz/workspace that includes two fuzz testing objectives, jsonrpc_message and stdio_comdec, covering message round-trip stability, block reading, and recovery ability after ultra long lines, as well as supplementing basic seed corpus and running/reproducing instructions; The integration of CI and OSS Fuzz will be separately promoted as a follow-up work.
If you agree this, I'll open a PR referencing this issue shortly.
Activity
ragen1337 commentedon Oct 2, 2026
I'd like to pick up the remaining fuzzing item. I have a local
cargo-fuzzcrate infuzz/(its own workspace, so stablecargo test/clippy are unaffected) with two targets:jsonrpc_message: arbitrary bytes →ClientJsonRpcMessage/ServerJsonRpcMessage. Anything that parses must re-serialize, parse again, and serialize identically.stdio_codec: chunked input intoJsonRpcMessageCodecwith a small max line length, covering partial reads and the discard path after an oversized line.10 minutes per target locally (~28M and ~7M executions) found no crashes. Would you take this as a PR? And should it include a short CI fuzz job (e.g. scheduled, a few minutes per target), or should CI/OSS-Fuzz be a separate follow-up?
bbdu3 commentedon Nov 5, 2026
@jamadeo @DaleSeo Hello -all, I found this issue has not been resolved yet. Following the above reply, my implementation strategy is: Add an independent fuzz/workspace that includes two fuzz testing objectives, jsonrpc_message and stdio_comdec, covering message round-trip stability, block reading, and recovery ability after ultra long lines, as well as supplementing basic seed corpus and running/reproducing instructions; The integration of CI and OSS Fuzz will be separately promoted as a follow-up work.
If you agree this, I'll open a PR referencing this issue shortly.