Skip to content

ENT-14981: Fixed out-of-bounds read in string_replace with nested list elements - #6513

Merged
larsewi merged 1 commit into
cfengine:masterfrom
victormlg:string_replace
Nov 20, 2026
Merged

larsewi merged 1 commit into
cfengine:masterfrom
victormlg:string_replace

Conversation

@victormlg

Copy link
Copy Markdown
Contributor

Taken from #6483

@cfengine cfengine deleted a comment from victormlg Nov 19, 2026
@larsewi

larsewi commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

@cf-bottom Jenkins please :)

@victormlg victormlg changed the title Fixed out-of-bounds read in string_replace with nested list elements ENT-14981: Fixed out-of-bounds read in string_replace with nested list elements Nov 19, 2026
@cf-bottom

Copy link
Copy Markdown

@victormlg

Copy link
Copy Markdown
Contributor Author

Alright, I triggered a build:

Build Status

Jenkins: https://ci.cfengine.com/job/pr-pipeline/15146/

Packages: http://buildcache.cfengine.com/packages/testing-pr/jenkins-pr-pipeline-15146/

The error is unrelated

@victormlg
victormlg requested a review from larsewi November 20, 2026 08:18

@larsewi larsewi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please use back ticks in the change log entry

Nested arrays/objects in the "lists" match or substitute arrays were
read as strings. They are now rejected with an error.

Ticket: ENT-14981
Changelog: Title
Co-authored-by: Victor Moene <victor.moene@northern.tech>
Signed-off-by: Dhanraj E <dhanraj@labs.digiscrypt.com>
Signed-off-by: Victor Moene <victor.moene@northern.tech>
@larsewi
larsewi merged commit 1ab2cbf into cfengine:master Nov 20, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants