-
Notifications
You must be signed in to change notification settings - Fork 138
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
pySCG: Adding documentation to CWE-175 as part of #531 #687
Conversation
Signed-off-by: edanhub <hubert.daniszewski@ericsson.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code not working, line 12 and 15 are missing locale.CURRENT_LOCALE
docs/Secure-Coding-Guide-for-Python/CWE-707/CWE-175/compliant03.py
Outdated
Show resolved
Hide resolved
docs/Secure-Coding-Guide-for-Python/CWE-707/CWE-175/noncompliant03.py
Outdated
Show resolved
Hide resolved
Signed-off-by: edanhub <hubert.daniszewski@ericsson.com>
docs/Secure-Coding-Guide-for-Python/CWE-707/CWE-175/example03.py
Outdated
Show resolved
Hide resolved
Co-authored-by: myteron <myteron@gmail.com> Signed-off-by: Hubert Daniszewski <61824500+s19110@users.noreply.github.com>
Co-authored-by: myteron <myteron@gmail.com> Signed-off-by: Hubert Daniszewski <61824500+s19110@users.noreply.github.com>
docs/Secure-Coding-Guide-for-Python/CWE-707/CWE-175/compliant01.py
Outdated
Show resolved
Hide resolved
docs/Secure-Coding-Guide-for-Python/CWE-707/CWE-175/compliant02.py
Outdated
Show resolved
Hide resolved
docs/Secure-Coding-Guide-for-Python/CWE-707/CWE-175/noncompliant01.py
Outdated
Show resolved
Hide resolved
docs/Secure-Coding-Guide-for-Python/CWE-707/CWE-175/noncompliant02.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left comments with suggestions, In "example03.py" I couldn't leave a suggested change on all the lines but essentially just wondering can we remove one "#" from the comments, just leave it at "#" rather than "##"
Co-authored-by: BartyBoi1128 <58297160+BartyBoi1128@users.noreply.github.com> Signed-off-by: Hubert Daniszewski <61824500+s19110@users.noreply.github.com>
…1.py Co-authored-by: BartyBoi1128 <58297160+BartyBoi1128@users.noreply.github.com> Signed-off-by: Hubert Daniszewski <61824500+s19110@users.noreply.github.com>
…2.py Co-authored-by: BartyBoi1128 <58297160+BartyBoi1128@users.noreply.github.com> Signed-off-by: Hubert Daniszewski <61824500+s19110@users.noreply.github.com>
Co-authored-by: BartyBoi1128 <58297160+BartyBoi1128@users.noreply.github.com> Signed-off-by: Hubert Daniszewski <61824500+s19110@users.noreply.github.com>
Co-authored-by: BartyBoi1128 <58297160+BartyBoi1128@users.noreply.github.com> Signed-off-by: Hubert Daniszewski <61824500+s19110@users.noreply.github.com>
…nt01.py Co-authored-by: BartyBoi1128 <58297160+BartyBoi1128@users.noreply.github.com> Signed-off-by: Hubert Daniszewski <61824500+s19110@users.noreply.github.com>
…nt01.py Co-authored-by: BartyBoi1128 <58297160+BartyBoi1128@users.noreply.github.com> Signed-off-by: Hubert Daniszewski <61824500+s19110@users.noreply.github.com>
…nt02.py Co-authored-by: BartyBoi1128 <58297160+BartyBoi1128@users.noreply.github.com> Signed-off-by: Hubert Daniszewski <61824500+s19110@users.noreply.github.com>
…nt01.py Co-authored-by: BartyBoi1128 <58297160+BartyBoi1128@users.noreply.github.com> Signed-off-by: Hubert Daniszewski <61824500+s19110@users.noreply.github.com>
Thank you for the suggestions, I have now merged all of them. As for the "##" in comments, I will change them to a singular "#" and indicate if they are supposed to be console output or something else. |
Signed-off-by: edanhub <hubert.daniszewski@ericsson.com>
Signed-off-by: Hubert Daniszewski <61824500+s19110@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
example01.py
code does not work. Rest is more or less cosmetic hope I got matching code between .py and .md
docs/Secure-Coding-Guide-for-Python/CWE-707/CWE-175/example01.py
Outdated
Show resolved
Hide resolved
docs/Secure-Coding-Guide-for-Python/CWE-707/CWE-175/example03.py
Outdated
Show resolved
Hide resolved
docs/Secure-Coding-Guide-for-Python/CWE-707/CWE-175/compliant02.py
Outdated
Show resolved
Hide resolved
docs/Secure-Coding-Guide-for-Python/CWE-707/CWE-175/noncompliant02.py
Outdated
Show resolved
Hide resolved
Co-authored-by: myteron <myteron@gmail.com> Signed-off-by: Hubert Daniszewski <61824500+s19110@users.noreply.github.com>
Co-authored-by: myteron <myteron@gmail.com> Signed-off-by: Hubert Daniszewski <61824500+s19110@users.noreply.github.com>
Co-authored-by: myteron <myteron@gmail.com> Signed-off-by: Hubert Daniszewski <61824500+s19110@users.noreply.github.com>
Co-authored-by: myteron <myteron@gmail.com> Signed-off-by: Hubert Daniszewski <61824500+s19110@users.noreply.github.com>
Co-authored-by: myteron <myteron@gmail.com> Signed-off-by: Hubert Daniszewski <61824500+s19110@users.noreply.github.com>
Co-authored-by: myteron <myteron@gmail.com> Signed-off-by: Hubert Daniszewski <61824500+s19110@users.noreply.github.com>
Co-authored-by: myteron <myteron@gmail.com> Signed-off-by: Hubert Daniszewski <61824500+s19110@users.noreply.github.com>
Co-authored-by: myteron <myteron@gmail.com> Signed-off-by: Hubert Daniszewski <61824500+s19110@users.noreply.github.com>
…2.py Co-authored-by: myteron <myteron@gmail.com> Signed-off-by: Hubert Daniszewski <61824500+s19110@users.noreply.github.com>
…nt02.py Co-authored-by: myteron <myteron@gmail.com> Signed-off-by: Hubert Daniszewski <61824500+s19110@users.noreply.github.com>
Signed-off-by: edanhub <hubert.daniszewski@ericsson.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All working
Adding documentation to CWE-175 as part of #531