Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CFE-4254: Allow inheriting attributes using global variables in bodies having local parameters (3.21.x) #5330

Merged
merged 1 commit into from
Sep 22, 2023

Conversation

larsewi
Copy link
Contributor

@larsewi larsewi commented Sep 20, 2023

Back-ported from #5324

in bodies having local parameters.

This also prevents a memory corruption when
an attribute contains external vars but no
local vars.

Ticket: CFE-4254
Changelog: Bodies can now inherit attributes containing global variables

Signed-off-by: Alexis Mousset <[email protected]>
(cherry picked from commit a99a1cc)
Signed-off-by: Lars Erik Wik <[email protected]>
@larsewi
Copy link
Contributor Author

larsewi commented Sep 20, 2023

@cf-bottom Jenkins please :)

@cf-bottom
Copy link

@larsewi
Copy link
Contributor Author

larsewi commented Sep 21, 2023

^ Unrelated failure ENT-10658

@larsewi larsewi merged commit df829de into cfengine:3.21.x Sep 22, 2023
7 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.

3 participants