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

Replaced strtoul() using NULL arguments with atol() in wodles' config files. #2801

Merged
merged 3 commits into from Mar 18, 2019

Conversation

Leamsy
Copy link
Contributor

@Leamsy Leamsy commented Mar 12, 2019

strtoul() was causing some issues (specially in the docker wodle), as it was reading characters as numeric values, causing unexpected behaviour. The solution was replacing it with atol(), which only reads numeric values.

This PR fixes the issue #2768

@chemamartinez
Copy link
Contributor

It has been added a commit (f8b8521) for not accepting negative values at intervals and timeouts when reading the configuration. It also allows starting some modules when setting an interval lower than 60 seconds, by overwriting the interval value to the lowest one valid instead of stopping the execution.

@chemamartinez chemamartinez merged commit f5326f7 into 3.9 Mar 18, 2019
@chemamartinez chemamartinez deleted the fix_docker_listener branch March 18, 2019 17:21
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.

None yet

2 participants