Skip to content

Fix a few memory related issues - #489

Merged
pinterf merged 10 commits into
AviSynth:masterfrom
msg7086-forks:fix/memory-related
Aug 6, 2026
Merged

Fix a few memory related issues#489
pinterf merged 10 commits into
AviSynth:masterfrom
msg7086-forks:fix/memory-related

Conversation

@msg7086

@msg7086 msg7086 commented Jul 11, 2026

Copy link
Copy Markdown

All of them are statically analyzed, none were tested, but are obvious enough that there were issues there.

Feel free to back out individual commits if redeemed inappropriate.

@pinterf

pinterf commented Jul 11, 2026

Copy link
Copy Markdown

All of them are appropriate for the first sight.

@pinterf

pinterf commented Aug 6, 2026

Copy link
Copy Markdown

For "Fix: [AVSP012/AVSP013] fix buffer offset unit and memcpy undefined behavior" I had to understand (again) the difference between memcpy and memmove (latter handles the overlapping copying properly)

@pinterf
pinterf merged commit a5fd746 into AviSynth:master Aug 6, 2026
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