]> scripts.mit.edu Git - wizard.git/blobdiff - wizard/command/mass_upgrade.py
Fix kernel buffer overflow by avoiding passing --debug to subprocesses.
[wizard.git] / wizard / command / mass_upgrade.py
index 154455f190a6e7a672549fb0a38a96be9e83f92f..f9aa8bbbc3e90d436395a6b749fa05d3a70a82a4 100644 (file)
@@ -177,5 +177,7 @@ the scripts AFS patch."""
     return options, args
 
 def calculate_base_args(options):
-    return command.make_base_args(options, dry_run="--dry-run", srv_path="--srv-path", force="--force")
+    # Do not pass --debug to subprocesses, since it will trigger the OS
+    # kernel buffer issue
+    return command.make_base_args(options, dry_run="--dry-run", srv_path="--srv-path", force="--force", debug=None)