Skip to content

Don't crash milltask when no tool data file is specified#3791

Open
BsAtHome wants to merge 1 commit intoLinuxCNC:masterfrom
BsAtHome:fix_tooldata-save
Open

Don't crash milltask when no tool data file is specified#3791
BsAtHome wants to merge 1 commit intoLinuxCNC:masterfrom
BsAtHome:fix_tooldata-save

Conversation

@BsAtHome
Copy link
Contributor

@BsAtHome BsAtHome commented Feb 6, 2026

This PR addresses a crash in milltask that happens when the ini-file lacks an entry for [EMCIO]TOOL_TABLE and a request is made to set a tool offset. The filename argument to tooldata_save() would be NULL and was naively dereferenced.

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.

1 participant