Skip to content

Commit a6cffd4

Browse files
Don't include chrome restrictions on uploads in oss-fuzz (#4610)
Don't force users to sign trusted agreement.
1 parent 01239a0 commit a6cffd4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/appengine/handlers/upload_testcase.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,9 @@ def do_post(self):
392392
trusted_agreement_signed = request.get(
393393
'trustedAgreement') == TRUSTED_AGREEMENT_TEXT.strip()
394394

395-
if (not trusted_agreement_signed and
395+
# Chrome is the only ClusterFuzz deployment where there are trusted bots running utasks.
396+
# This check also fails on oss-fuzz because of the way it abuses platform.
397+
if (not trusted_agreement_signed and utils.is_chromium() and
396398
task_utils.is_remotely_executing_utasks() and
397399
((platform_id and platform_id != 'Linux') or
398400
job.platform.lower() != 'linux')):

0 commit comments

Comments
 (0)