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

Do not ignore return value of setuid #1335

Closed
wants to merge 1 commit into from
Closed

Do not ignore return value of setuid #1335

wants to merge 1 commit into from

Conversation

jkrshnmenon
Copy link

Ignoring the return value of setuid might lead to a security issue.

Since the csound_main.c creates log files after invoking set_rt_priority,
if setuid fails, these files would be owned by root.

@vlazzarini
Copy link
Member

Seems ok, but the appveyor build failed for some reason that might be unrelated, needs to be checked

@jpffitch
Copy link
Contributor

Looks OK to me too I merged by hand and srems OK on Linux.

@jpffitch jpffitch closed this Jun 14, 2020
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.

3 participants