ref: 7ba254afe3300e88a1692ffcb72af34d025618f8
parent: 566f277947682ea7513fa7ff91320607d2ff63f0
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Wed Jun 24 14:42:41 EDT 2020
cpu: remove /env/PASS to avoid leaking password to the remote system
--- a/cpu.c
+++ b/cpu.c
@@ -263,7 +263,8 @@
char *s;
user = getenv("USER");
- pass = getenv("PASS");
+ if((pass = getenv("PASS")) != nil)
+ remove("/env/PASS");
host = getenv("cpu");
authserver = getenv("auth");