Valgrind test) being interpretted as printf format strings.
-# $OpenBSD: agent-restrict.sh,v 1.3 2022/01/12 07:18:37 dtucker Exp $
+# $OpenBSD: agent-restrict.sh,v 1.4 2022/01/13 04:22:10 dtucker Exp $
# Placed in the Public Domain.
tid="agent restrictions"
trace "reset keys"
>$OBJ/authorized_keys_$USER
for h in e d c b a; do
- (printf "restrict,agent-forwarding,command=\"$_command\" ";
+ (printf "%s" "restrict,agent-forwarding,command=\"$_command\" ";
cat $OBJ/user_$h.pub) >> $OBJ/authorized_keys_$USER
done
}