QuackatronHQ / Gigarepo

Variables must be defined before use SH-2154
Bug risk
Critical
14 occurrences in this check
_dbh_file is referenced but not assigned
 333  fi
 334  eval '_dbh_function=${_dbh_called[1]}'
 335  eval '_dbh_lineno=${_dbh_called[0]}'
 336  printf "%-40s " "$_dbh_file:${_dbh_function}:${_dbh_lineno}" 337}
 338
 339_debug() {
_dbh_function is referenced but not assigned
 333  fi
 334  eval '_dbh_function=${_dbh_called[1]}'
 335  eval '_dbh_lineno=${_dbh_called[0]}'
 336  printf "%-40s " "$_dbh_file:${_dbh_function}:${_dbh_lineno}" 337}
 338
 339_debug() {
_dbh_lineno is referenced but not assigned
 333  fi
 334  eval '_dbh_function=${_dbh_called[1]}'
 335  eval '_dbh_lineno=${_dbh_called[0]}'
 336  printf "%-40s " "$_dbh_file:${_dbh_function}:${_dbh_lineno}" 337}
 338
 339_debug() {
Le_Valid_To is referenced but not assigned
5337  if [ -z "$Le_Keylength" ]; then
5338    Le_Keylength=2048
5339  fi
5340  issue "$Le_Webroot" "$Le_Domain" "$Le_Alt" "$Le_Keylength" "$Le_RealCertPath" "$Le_RealKeyPath" "$Le_RealCACertPath" "$Le_ReloadCmd" "$Le_RealFullChainPath" "$Le_PreHook" "$Le_PostHook" "$Le_RenewHook" "$Le_LocalAddress" "$Le_ChallengeAlias" "$Le_Preferred_Chain" "$Le_Valid_From" "$Le_Valid_To"5341  res="$?"
5342  if [ "$res" != "0" ]; then
5343    return "$res"
Le_Valid_From is referenced but not assigned
5337  if [ -z "$Le_Keylength" ]; then
5338    Le_Keylength=2048
5339  fi
5340  issue "$Le_Webroot" "$Le_Domain" "$Le_Alt" "$Le_Keylength" "$Le_RealCertPath" "$Le_RealKeyPath" "$Le_RealCACertPath" "$Le_ReloadCmd" "$Le_RealFullChainPath" "$Le_PreHook" "$Le_PostHook" "$Le_RenewHook" "$Le_LocalAddress" "$Le_ChallengeAlias" "$Le_Preferred_Chain" "$Le_Valid_From" "$Le_Valid_To"5341  res="$?"
5342  if [ "$res" != "0" ]; then
5343    return "$res"
Le_ChallengeAlias is referenced but not assigned
5337  if [ -z "$Le_Keylength" ]; then
5338    Le_Keylength=2048
5339  fi
5340  issue "$Le_Webroot" "$Le_Domain" "$Le_Alt" "$Le_Keylength" "$Le_RealCertPath" "$Le_RealKeyPath" "$Le_RealCACertPath" "$Le_ReloadCmd" "$Le_RealFullChainPath" "$Le_PreHook" "$Le_PostHook" "$Le_RenewHook" "$Le_LocalAddress" "$Le_ChallengeAlias" "$Le_Preferred_Chain" "$Le_Valid_From" "$Le_Valid_To"5341  res="$?"
5342  if [ "$res" != "0" ]; then
5343    return "$res"
Le_LocalAddress is referenced but not assigned
5337  if [ -z "$Le_Keylength" ]; then
5338    Le_Keylength=2048
5339  fi
5340  issue "$Le_Webroot" "$Le_Domain" "$Le_Alt" "$Le_Keylength" "$Le_RealCertPath" "$Le_RealKeyPath" "$Le_RealCACertPath" "$Le_ReloadCmd" "$Le_RealFullChainPath" "$Le_PreHook" "$Le_PostHook" "$Le_RenewHook" "$Le_LocalAddress" "$Le_ChallengeAlias" "$Le_Preferred_Chain" "$Le_Valid_From" "$Le_Valid_To"5341  res="$?"
5342  if [ "$res" != "0" ]; then
5343    return "$res"
Le_RealFullChainPath is referenced but not assigned
5337  if [ -z "$Le_Keylength" ]; then
5338    Le_Keylength=2048
5339  fi
5340  issue "$Le_Webroot" "$Le_Domain" "$Le_Alt" "$Le_Keylength" "$Le_RealCertPath" "$Le_RealKeyPath" "$Le_RealCACertPath" "$Le_ReloadCmd" "$Le_RealFullChainPath" "$Le_PreHook" "$Le_PostHook" "$Le_RenewHook" "$Le_LocalAddress" "$Le_ChallengeAlias" "$Le_Preferred_Chain" "$Le_Valid_From" "$Le_Valid_To"5341  res="$?"
5342  if [ "$res" != "0" ]; then
5343    return "$res"
Le_RealCACertPath is referenced but not assigned
5337  if [ -z "$Le_Keylength" ]; then
5338    Le_Keylength=2048
5339  fi
5340  issue "$Le_Webroot" "$Le_Domain" "$Le_Alt" "$Le_Keylength" "$Le_RealCertPath" "$Le_RealKeyPath" "$Le_RealCACertPath" "$Le_ReloadCmd" "$Le_RealFullChainPath" "$Le_PreHook" "$Le_PostHook" "$Le_RenewHook" "$Le_LocalAddress" "$Le_ChallengeAlias" "$Le_Preferred_Chain" "$Le_Valid_From" "$Le_Valid_To"5341  res="$?"
5342  if [ "$res" != "0" ]; then
5343    return "$res"
Le_RealKeyPath is referenced but not assigned
5337  if [ -z "$Le_Keylength" ]; then
5338    Le_Keylength=2048
5339  fi
5340  issue "$Le_Webroot" "$Le_Domain" "$Le_Alt" "$Le_Keylength" "$Le_RealCertPath" "$Le_RealKeyPath" "$Le_RealCACertPath" "$Le_ReloadCmd" "$Le_RealFullChainPath" "$Le_PreHook" "$Le_PostHook" "$Le_RenewHook" "$Le_LocalAddress" "$Le_ChallengeAlias" "$Le_Preferred_Chain" "$Le_Valid_From" "$Le_Valid_To"5341  res="$?"
5342  if [ "$res" != "0" ]; then
5343    return "$res"
Le_RealCertPath is referenced but not assigned
5337  if [ -z "$Le_Keylength" ]; then
5338    Le_Keylength=2048
5339  fi
5340  issue "$Le_Webroot" "$Le_Domain" "$Le_Alt" "$Le_Keylength" "$Le_RealCertPath" "$Le_RealKeyPath" "$Le_RealCACertPath" "$Le_ReloadCmd" "$Le_RealFullChainPath" "$Le_PreHook" "$Le_PostHook" "$Le_RenewHook" "$Le_LocalAddress" "$Le_ChallengeAlias" "$Le_Preferred_Chain" "$Le_Valid_From" "$Le_Valid_To"5341  res="$?"
5342  if [ "$res" != "0" ]; then
5343    return "$res"
Le_Vlist is referenced but not assigned
4436
4437  _savedomainconf "Le_Keylength" "$_key_length"
4438
4439  vlist="$Le_Vlist"4440  _cleardomainconf "Le_Vlist"
4441  _info "Getting domain auth token for each domain"
4442  sep='#'
_regAccount is referenced but not assigned
3625  _reg_length="$1"
3626  _eab_id="$2"
3627  _eab_hmac_key="$3"
3628  _debug3 _regAccount "$_regAccount"3629  _initAPI
3630
3631  mkdir -p "$CA_DIR"
Le_Webroot is referenced but not assigned
3534    )
3535  fi
3536
3537  if [ "$_X_IS_RENEW" = "1" ] && _hasfield "$Le_Webroot" "$W_DNS"; then3538    _err "$_DNS_MANUAL_ERR"
3539  fi
3540