Skip to content

config review (re-up) #274

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 21 commits into from
Sep 21, 2014
Merged

config review (re-up) #274

merged 21 commits into from
Sep 21, 2014

Conversation

cgzones
Copy link
Contributor

@cgzones cgzones commented Aug 29, 2014

  • fix several compiler warnings
  • fix several static analyzer warnings
  • add some explicit casts
  • remove unused function 'AssignIgnore_Global'

@awiddersheim
Copy link
Member

Most of this looks good to me. Left a comment on a smaller issue.

@cgzones
Copy link
Contributor Author

cgzones commented Aug 29, 2014

@awiddersheim Thanks for checking

@jrossi jrossi added this to the ossec-hids-2.9 milestone Sep 2, 2014


while(node[i])
{
XML_NODE chld_node = NULL;

chld_node = OS_GetElementsbyNode(&xml,node[i]);
chld_node = OS_GetElementsbyNode(xml,node[i]);
Copy link
Member

Choose a reason for hiding this comment

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

How was this even working before?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

see cgzones@8dce48f
the function's input parameter changed from OS_XML to OS_XML*

Copy link
Member

Choose a reason for hiding this comment

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

Thanks 👍

@jrossi jrossi self-assigned this Sep 2, 2014
jrossi added a commit that referenced this pull request Sep 21, 2014
@jrossi jrossi merged commit 412f911 into ossec:master Sep 21, 2014
@cgzones cgzones deleted the config branch September 22, 2014 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants