-
Notifications
You must be signed in to change notification settings - Fork 1k
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
os_xml review #142
os_xml review #142
Conversation
…+ os_xml_internal.h
…educe os_xml.c ones to local scope
…ld) and use nonnull attributes for static analysers
formatting with astyle --indent=spaces=4 --indent-switches --lineend=linux --style=stroustrup --pad-oper --add-brackets --align-pointer=name os_xml/*.c astyle --indent=spaces=4 --indent-switches --lineend=linux --style=stroustrup --pad-oper --add-brackets --align-pointer=name os_xml/*.h see https://github.com/ossec/ossec-docs/blob/fae75e0beb6201d7edec5d65d30d657c565cfedc/docs/oRFC/orfc-2.rst
I have been watching the branch as you were working on it. This is great. Thank you for all the work on this. I am running this on a few different OS this weekend to try it out. Hope you understand that lots of code changes and lots to review. Thank you doing TDD it make it much simpler :). I should be done reviewing sometime today. |
Of course i understand that it takes time to review. I edited the test case source file a bit so it is applicable on the unchanged source:
I included the old header os_writer_xml.h, added the unused arguments to os_write_xml() and commented out the crashing memory clean up calls |
Really sorry I have not got this pulled in yet. I have it running on a test setup and will merge tomorrow as thinks are looking good so far. |
…ng xml node attributes
I have been running this with ossec-vagrant for a bit and works fine for everything I hit it with. I have been working with os_xml for to long and know it's ways and work around them by habit. Looks lik @loonhxl has so fixes pulled into this too. Plus the code changes will help us to find other bugs. |
changes: