Skip to content

Commit 7338504

Browse files
Update docs/Secure-Coding-Guide-for-Python/CWE-664/CWE-584/noncompliant01.py
Co-authored-by: Bartlomiej Karas <[email protected]> Signed-off-by: andrew-costello <[email protected]>
1 parent a75ea87 commit 7338504

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/Secure-Coding-Guide-for-Python/CWE-664/CWE-584/noncompliant01.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
# SPDX-FileCopyrightText: OpenSSF project contributors
22
# SPDX-License-Identifier: MIT
3-
3+
44
"""Non-compliant Code Example"""
5-
6-
5+
6+
77
def do_logic():
88
try:
99
raise Exception
1010
finally:
1111
print("logic done")
1212
return True
13-
14-
13+
14+
1515
#####################
1616
# exploiting above code example
1717
#####################

0 commit comments

Comments
 (0)