The product uses or accesses a resource that has not been initialized.
When a resource has not been properly initialized, the product may behave unexpectedly. This may lead to a crash or invalid memory access, but the consequences vary depending on the type of resource and how it is used within the product.
Impact: Read MemoryRead Application Data
When reusing a resource such as memory or a program variable, the original contents of that resource may not be cleared before it is sent to an untrusted party.
Impact: DoS: Crash, Exit, or Restart
The uninitialized resource may contain values that cause program flow to change in ways that the programmer did not intend.
java
// perform initialization tasks* ...
javaperl
perl
cchar *test_string; if (i != err_val) {
cchar *test_string = "Done at the beginning"; if (i != err_val) {
cchar *test_string; if (i != err_val) {
cMedium