Skip to content

Fix overlapping memcpy bug in DPCM sample editor#345

Merged
Gumball2415 merged 1 commit intomainfrom
fix-memcpy-memmove
Jun 20, 2025
Merged

Fix overlapping memcpy bug in DPCM sample editor#345
Gumball2415 merged 1 commit intomainfrom
fix-memcpy-memmove

Conversation

@nyanpasu64
Copy link
Copy Markdown
Collaborator

@nyanpasu64 nyanpasu64 commented Jun 3, 2025

Does Windows actually implement memcpy and memmove differently?

This pull request aims to remove undefined behavior from calling memcpy on overlapping memory. (I don't know if MSVC actually distinguishes these functions.)

(If applicable) This pull request improves upon and supercedes #<PR number>.

Changes in this PR:

  • (cite all changes made in the PR for change log)
    • Fixes/addresses issue #<issue number>.

Does Windows actually implement memcpy and memmove differently?
@nyanpasu64 nyanpasu64 marked this pull request as ready for review June 13, 2025 10:23
@Gumball2415 Gumball2415 merged commit cdf3b38 into main Jun 20, 2025
8 checks passed
@nyanpasu64 nyanpasu64 deleted the fix-memcpy-memmove branch June 20, 2025 03:33
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.

2 participants