Fix spelling mistake (Fix 398)

pull/414/head
Josselin 5 years ago
parent d76bec9850
commit 752ad77985
  1. 2
      slither/detectors/variables/uninitialized_local_variables.py
  2. 2
      slither/detectors/variables/uninitialized_storage_variables.py
  3. 4
      tests/expected_json/uninitialized_local_variable.uninitialized-local.json
  4. 2
      tests/expected_json/uninitialized_local_variable.uninitialized-local.txt
  5. 4
      tests/expected_json/uninitialized_storage_pointer.uninitialized-storage.json
  6. 2
      tests/expected_json/uninitialized_storage_pointer.uninitialized-storage.txt

@ -98,7 +98,7 @@ Bob calls `transfer`. As a result, the ethers are sent to the address 0x0 and ar
all_results = list(set(self.results))
for(function, uninitialized_local_variable) in all_results:
info = [uninitialized_local_variable, " is a local variable never initialiazed\n"]
info = [uninitialized_local_variable, " is a local variable never initialized\n"]
json = self.generate_result(info)
results.append(json)

@ -101,7 +101,7 @@ Bob calls `func`. As a result, `owner` is override to 0.
self._detect_uninitialized(function, function.entry_point, [])
for(function, uninitialized_storage_variable) in self.results:
info = [uninitialized_storage_variable, " is a storage variable never initialiazed\n"]
info = [uninitialized_storage_variable, " is a storage variable never initialized\n"]
json = self.generate_result(info)
results.append(json)

@ -77,8 +77,8 @@
}
}
],
"description": "Uninitialized.func().uint_not_init (tests/uninitialized_local_variable.sol#4) is a local variable never initialiazed\n",
"markdown": "[Uninitialized.func().uint_not_init](tests/uninitialized_local_variable.sol#L4) is a local variable never initialiazed\n",
"description": "Uninitialized.func().uint_not_init (tests/uninitialized_local_variable.sol#4) is a local variable never initialized\n",
"markdown": "[Uninitialized.func().uint_not_init](tests/uninitialized_local_variable.sol#L4) is a local variable never initialized\n",
"id": "8cb0b6b473ffecf3c2284584eb0012c742d36709f75c7516c3ba9748f3c27a98",
"check": "uninitialized-local",
"impact": "Medium",

@ -1,4 +1,4 @@

Uninitialized.func().uint_not_init (tests/uninitialized_local_variable.sol#4) is a local variable never initialiazed
Uninitialized.func().uint_not_init (tests/uninitialized_local_variable.sol#4) is a local variable never initialized
Reference: https://github.com/crytic/slither/wiki/Detector-Documentation#uninitialized-local-variables
tests/uninitialized_local_variable.sol analyzed (1 contracts with 1 detectors), 1 result(s) found

@ -83,8 +83,8 @@
}
}
],
"description": "Uninitialized.func().st_bug (tests/uninitialized_storage_pointer.sol#10) is a storage variable never initialiazed\n",
"markdown": "[Uninitialized.func().st_bug](tests/uninitialized_storage_pointer.sol#L10) is a storage variable never initialiazed\n",
"description": "Uninitialized.func().st_bug (tests/uninitialized_storage_pointer.sol#10) is a storage variable never initialized\n",
"markdown": "[Uninitialized.func().st_bug](tests/uninitialized_storage_pointer.sol#L10) is a storage variable never initialized\n",
"id": "af9ceb591701024a2199a04e66a121086d330d4cdeb3b160514cce2bb440579f",
"check": "uninitialized-storage",
"impact": "High",

@ -1,4 +1,4 @@

Uninitialized.func().st_bug (tests/uninitialized_storage_pointer.sol#10) is a storage variable never initialiazed
Uninitialized.func().st_bug (tests/uninitialized_storage_pointer.sol#10) is a storage variable never initialized
Reference: https://github.com/crytic/slither/wiki/Detector-Documentation#uninitialized-storage-variables
tests/uninitialized_storage_pointer.sol analyzed (1 contracts with 1 detectors), 1 result(s) found

Loading…
Cancel
Save