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

File created without restricting permissions #54

Closed
ArielSAdamsNASA opened this issue Aug 20, 2020 · 0 comments · Fixed by #55 or #62
Closed

File created without restricting permissions #54

ArielSAdamsNASA opened this issue Aug 20, 2020 · 0 comments · Fixed by #55 or #62
Labels
Milestone

Comments

@ArielSAdamsNASA
Copy link

Describe the bug
Allows anyone to open and write the file, DstFileDesc.

Expected behavior
Must set user permissions to file.

Code snips

DstFileDesc = fopen(DstFilename, "w");

System observed on:
https://lgtm.com/projects/g/nasa/cFS/snapshot/20ff9b0c5aa6653815b9cd2feb4a02180b239737/files/tools/elf2cfetbl/elf2cfetbl.c?sort=name&dir=ASC&mode=heatmap

Additional context
Previously mentioned in ticket #28
References:

Reporter Info
Ariel Adams, ASRC Federal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants