Skip to content

CFE-2686: Policy function format() no longer truncates strings lager than 4KiB #4429

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

Merged
merged 5 commits into from
Dec 17, 2020

Conversation

larsewi
Copy link
Contributor

@larsewi larsewi commented Dec 15, 2020

No description provided.

@olehermanse
Copy link
Member

@nickanderson please review policy file / test.

@olehermanse
Copy link
Member

@cf-bottom jenkins, please.

@cf-bottom
Copy link

olehermanse
olehermanse previously approved these changes Dec 15, 2020
Copy link
Member

@olehermanse olehermanse left a comment

Choose a reason for hiding this comment

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

Great! Just some smaller comments.

Copy link
Contributor

@vpodzime vpodzime left a comment

Choose a reason for hiding this comment

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

Looks good to me otherwise. Thanks for the code quality improvements!

Ticket: CFE-2686
Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
@lgtm-com
Copy link

lgtm-com bot commented Dec 16, 2020

This pull request fixes 7 alerts when merging 147d345d7334affc4bf85ffa7b3115e10ec594b6 into 368d737 - view on LGTM.com

fixed alerts:

  • 6 for Commented-out code
  • 1 for Pointer argument is dereferenced without checking for NULL

@cfengine cfengine deleted a comment from lgtm-com bot Dec 16, 2020
@cfengine cfengine deleted a comment from lgtm-com bot Dec 16, 2020
@cfengine cfengine deleted a comment from lgtm-com bot Dec 16, 2020
Changelog: Title
Ticket: CFE-2686
Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
Ticket: CFE-2686
Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
Ticket: CFE-2686
Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
@lgtm-com
Copy link

lgtm-com bot commented Dec 16, 2020

This pull request fixes 8 alerts when merging f5acce2d57ebd7713bfcaf9470a21a19a3e48434 into 368d737 - view on LGTM.com

fixed alerts:

  • 6 for Commented-out code
  • 2 for Pointer argument is dereferenced without checking for NULL

Ticket: CFE-2686
Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
@olehermanse
Copy link
Member

@cf-bottom jenkins, please.

@cf-bottom
Copy link

Copy link
Member

@olehermanse olehermanse left a comment

Choose a reason for hiding this comment

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

Looks great now, awaiting CI.

@lgtm-com
Copy link

lgtm-com bot commented Dec 16, 2020

This pull request fixes 8 alerts when merging 0043008 into 368d737 - view on LGTM.com

fixed alerts:

  • 6 for Commented-out code
  • 2 for Pointer argument is dereferenced without checking for NULL

@olehermanse olehermanse merged commit 7c3ba84 into cfengine:master Dec 17, 2020
@olehermanse olehermanse added the cherry-pick? Fixes which may need to be cherry-picked to LTS branches label Dec 17, 2020
@olehermanse
Copy link
Member

Cherry-picks:
#4431
#4432

@olehermanse olehermanse removed the cherry-pick? Fixes which may need to be cherry-picked to LTS branches label Dec 17, 2020
@larsewi larsewi deleted the CFE-2686 branch February 12, 2021 10:36
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