Skip to content

Commit b5e7c00

Browse files
committed
Keep the default upstream profile for uncalibrated stage 3
1 parent 3271ac6 commit b5e7c00

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎tools/php2shell_calibrate.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,8 @@ def main() -> int:
450450
"verified": rce,
451451
"rce": rce,
452452
"oom_mb": 12,
453-
"upstream_profile": "bookworm" if s3_carrier else "lab",
453+
"upstream_profile": ("bookworm" if s3_carrier in (None, True)
454+
else "lab"),
454455
"libphp": {
455456
"zif_system": hex(sym["zif_system"]),
456457
"zval_ptr_dtor": hex(sym["zval_ptr_dtor"]),

0 commit comments

Comments
 (0)