Skip to content

hm2_modbus: Limit mbccb size to prevent alloc of impossibly huge blocks#3937

Merged
andypugh merged 1 commit intoLinuxCNC:masterfrom
BsAtHome:fix_mbccb-size-to-big
Apr 15, 2026
Merged

hm2_modbus: Limit mbccb size to prevent alloc of impossibly huge blocks#3937
andypugh merged 1 commit intoLinuxCNC:masterfrom
BsAtHome:fix_mbccb-size-to-big

Conversation

@BsAtHome
Copy link
Copy Markdown
Contributor

As discussed last video meeting. Don't do blind allocation based on file size but limit the size so that kernel running components will not starve and kill the entire system. This is also applied to the userspace loader because the file size should never be very large anyway and it is an error if it is.

@andypugh andypugh merged commit ed2ecbb into LinuxCNC:master Apr 15, 2026
14 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