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

Treat unreadable service files as invalid #189

Closed
wants to merge 1 commit into from

Conversation

yaneti
Copy link
Contributor

@yaneti yaneti commented Jan 22, 2019

This is a followup to a0869bd.
If we return 0 the parsing is considered complete and bad thing happen in manager_load_service_file

@yaneti yaneti changed the title Treat unreadable files as invalid Treat unreadable service files as invalid Jan 22, 2019
@yaneti yaneti force-pushed the patch-1 branch 3 times, most recently from e999440 to 0f91a09 Compare January 22, 2019 08:17
Copy link
Member

@dvdhrm dvdhrm left a comment

Choose a reason for hiding this comment

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

Thanks a lot! The second hunk in your patch can be dropped. Can you respin the patch, or should I do that when I apply it?

Also, we use sign-offs, so please use git commit -s or provide your sign-off separately. For background information, see: https://developercertificate.org/

src/launch/main.c Outdated Show resolved Hide resolved
src/launch/main.c Show resolved Hide resolved
@yaneti
Copy link
Contributor Author

yaneti commented Jan 22, 2019

Please feel free not to merge the fix and deal with all the cases as you see fit.

This is a followup to a0869bd.
If we return 0 the parsing is considered complete and bad things
happen in manager_load_service_file.

Signed-off-by: Yanko Kaneti <yaneti@declera.com>
@yaneti
Copy link
Contributor Author

yaneti commented Jan 22, 2019

I've mangled this simple patch enough I think. :) added a sign-off . If its still not up to par please apply whatever you deem necessary to avoid the crashing :)

@dvdhrm
Copy link
Member

dvdhrm commented Jan 22, 2019

This is now merged. Thanks a lot!

@dvdhrm dvdhrm closed this Jan 22, 2019
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