Skip to content

Comments

Fixed strict clipping memsize size_t to 32bit only on 64bit platforms#109

Merged
yarrick merged 1 commit intoyarrick:masterfrom
GermanAizek:master
Apr 8, 2025
Merged

Fixed strict clipping memsize size_t to 32bit only on 64bit platforms#109
yarrick merged 1 commit intoyarrick:masterfrom
GermanAizek:master

Conversation

@GermanAizek
Copy link
Contributor

@GermanAizek GermanAizek commented Apr 4, 2025

@yarrick, bug only on 64bit iodine builds.
C-cast not memsize as intended. Perhaps when datalen was rewritten from unsigned to size_t, they forgot to fix C-cast in CHECKLEN(x) macro.

@yarrick
Copy link
Owner

yarrick commented Apr 5, 2025

Can you fix the other version of it in the same file also?

@GermanAizek
Copy link
Contributor Author

Can you fix the other version of it in the same file also?

yes, there really is another macro with problem.

@GermanAizek
Copy link
Contributor Author

@yarrick, fixed in 405a38c.

@yarrick yarrick merged commit 50caf2c into yarrick:master Apr 8, 2025
6 checks passed
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