Skip to content

A few more calloc and dt_strlcpy_to_fixed fixes#21148

Merged
TurboGit merged 4 commits into
darktable-org:masterfrom
kofa73:fix/more-calloc
May 26, 2026
Merged

A few more calloc and dt_strlcpy_to_fixed fixes#21148
TurboGit merged 4 commits into
darktable-org:masterfrom
kofa73:fix/more-calloc

Conversation

@kofa73
Copy link
Copy Markdown
Collaborator

@kofa73 kofa73 commented May 26, 2026

A follow-up to #21133 -- some legacy param migrations to avoid data leaks, some string copies to improve hash stability. For example, in lens, if selecting between lenses manually, the remnants of an old lens names were not zeroed out, so switching from a short-named lens to a long-named and back would change the hash for caching.
I think this now includes all the low-hanging fruit.

Copy link
Copy Markdown
Member

@TurboGit TurboGit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@TurboGit TurboGit added this to the 5.6 milestone May 26, 2026
@TurboGit TurboGit added bugfix pull request fixing a bug scope: codebase making darktable source code easier to manage labels May 26, 2026
@TurboGit TurboGit merged commit 773d1ec into darktable-org:master May 26, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix pull request fixing a bug scope: codebase making darktable source code easier to manage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants