Skip to content

Agent config regex fix#2036

Merged
chemamartinez merged 5 commits into3.8from
agent-config-regex-fix
Dec 7, 2018
Merged

Agent config regex fix#2036
chemamartinez merged 5 commits into3.8from
agent-config-regex-fix

Conversation

@DaveVG1
Copy link
Copy Markdown
Contributor

@DaveVG1 DaveVG1 commented Dec 5, 2018

Fix to #1925

Copy link
Copy Markdown
Contributor

@chemamartinez chemamartinez left a comment

Choose a reason for hiding this comment

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

LGTM!

Comment thread src/os_regex/os_regex.h Outdated
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Why is this value 20479 and not 20480?

Comment thread src/os_regex/os_match_compile.c Outdated
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can we drop these changes off the PR?

Copy link
Copy Markdown
Member

@vikman90 vikman90 left a comment

Choose a reason for hiding this comment

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

Please add this limit checking to all the agent options:

  • <agent_config name>
  • <agent_config os>
  • <agent_config profile>

All they have the same limit problem.

Thanks!

Comment thread src/config/config.c Outdated
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please let the log show the current option size. For instance:

Agent name filter (38291 bytes) exceeds the limit (20480).

DaveVG and others added 5 commits December 7, 2018 00:57
- Extend the limit check to agent profile and OS
- Change maximum value to 20480
- Change warning description
@chemamartinez chemamartinez force-pushed the agent-config-regex-fix branch from 82816a8 to 58e1f20 Compare December 7, 2018 09:01
@chemamartinez chemamartinez merged commit fa13649 into 3.8 Dec 7, 2018
@chemamartinez chemamartinez deleted the agent-config-regex-fix branch December 7, 2018 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

reporter/operations type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants