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

os_regex review #195

Merged
merged 27 commits into from
Apr 29, 2014
Merged

os_regex review #195

merged 27 commits into from
Apr 29, 2014

Conversation

cgzones
Copy link
Contributor

@cgzones cgzones commented Apr 29, 2014

changes:

  • replace octal values of charmaps with decimal ones (cause octal values greater than 127 causing conversion warnings)
  • change string size variables to size_t
  • rewrite OS_StrStartsWith() so that the length of the pattern does not need to be computed
  • enable unit test for regex extraction added by 79460ac
  • fix bunch of compiler warnings
  • fix coverity warnings about uninitialized array (CID 28590)

… octal values grater than \177 = 128 causing conversion warnings
… make arguments const

OS_StrHowClosedMatch: change result tpye to size_t
jrossi added a commit that referenced this pull request Apr 29, 2014
@jrossi jrossi merged commit 73e1eb4 into ossec:master Apr 29, 2014
@cgzones cgzones deleted the os_regex branch May 2, 2014 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants