The product does not initialize a critical resource.
Many resources require initialization before they can be properly used. If a resource is not initialized, it could contain unpredictable or expired data, or it could be initialized to defaults that are invalid. This can have security implications when the resource is expected to have certain properties or values.
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