Skip to content

Validate patch section and warn if patch bytes match binary#31

Closed
A1mDev wants to merge 5 commits intonosoop:masterfrom
A1mDev:verify-patch-bytes
Closed

Validate patch section and warn if patch bytes match binary#31
A1mDev wants to merge 5 commits intonosoop:masterfrom
A1mDev:verify-patch-bytes

Conversation

@A1mDev
Copy link
Contributor

@A1mDev A1mDev commented Oct 4, 2025

  • Check that patch section is not empty; throw error if empty.
  • Log warning if binary already contains patch bytes (redundant patch), without halting execution.

Fix #30

A1mDev added 5 commits October 4, 2025 15:07
- Added std::equal comparison to detect when patch bytes already match
  the binary.
- Logs a clear message to the user indicating the patch is redundant,
  suggesting to verify patch data or check for conflicts with other plugins.
@A1mDev
Copy link
Contributor Author

A1mDev commented Oct 9, 2025

@nosoop Just checking in — could you please review or comment on this PR? If there’s no response, I’ll close it in a few days.

@A1mDev A1mDev closed this by deleting the head repository Oct 30, 2025
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.

No error displayed when patch matches existing bytes

1 participant