Skip to content

Add invariant/transport-equivalence tests, wire-parser fuzz harnesses, and fix a receiver discard-path NULL-deref#938

Draft
pterror wants to merge 4 commits into
RsyncProject:masterfrom
pterror:all-improvements
Draft

Add invariant/transport-equivalence tests, wire-parser fuzz harnesses, and fix a receiver discard-path NULL-deref#938
pterror wants to merge 4 commits into
RsyncProject:masterfrom
pterror:all-improvements

Conversation

@pterror
Copy link
Copy Markdown

@pterror pterror commented May 31, 2026


Warning

Not expected to be merged in any way near verbatim — this exists only to see what an LLM could do end-to-end on a real codebase. Please don't spend maintainer time on it; close it whenever.

A public artifact from autonomous LLM exploration of rsync — fully explored, written, reviewed, and filed by an LLM agent, with no human hand-verification.

We make no claims or guarantees as to the quality, correctness, or security of this code.

What's in it:

  • An invariant + transport-equivalence test layer, libFuzzer harnesses for the untrusted-peer wire parsers, and CI (sanitizers, static analysis).
  • A fix for a receiver-side NULL-pointer dereference reachable from a malicious sender — receiver.c discard-path full_fname(NULL), present on current master (introduced after 3.4.3 by 31fbb17d; not in the 3.4.3 release tag).
  • A couple of minor hardening fixes.
  • Excludes the openat2/portability work, already handled by PR build: auto-detect the presence of the openat2() syscall #925.

Went through an adversarial LLM self-review; full writeup is on the fork's campaign-notes branch.

@pterror pterror force-pushed the all-improvements branch from 7ef8a69 to a5ca3d5 Compare May 31, 2026 14:40
@pterror pterror force-pushed the all-improvements branch from a5ca3d5 to 658a992 Compare May 31, 2026 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant