Skip to content

Do not ignore return value of setuid#1335

Closed
jkrshnmenon wants to merge 1 commit intocsound:developfrom
jkrshnmenon:develop
Closed

Do not ignore return value of setuid#1335
jkrshnmenon wants to merge 1 commit intocsound:developfrom
jkrshnmenon:develop

Conversation

@jkrshnmenon
Copy link
Copy Markdown

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
Copy Markdown
Member

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

@jpffitch
Copy link
Copy Markdown
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