Skip to content

Commit 1d9d387

Browse files
committed
Disable semgrep exec warning
exec is used deliberately on config file script. It's a user responsibility to ensure the config files don't contain malicious code. Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
1 parent 1c01439 commit 1d9d387

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

debugboard.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ def parse_script(self):
144144
new_script = fix_log_comment.sub(r'self.logComment("\1")', new_script)
145145

146146
d = {}
147+
# nosemgrep: python.lang.security.audit.exec-detected.exec-detected
147148
exec(new_script, d) # pylint: disable=exec-used
148149

149150
# create ports

0 commit comments

Comments
 (0)