The product sets a pointer to a specific address other than NULL or 0.
Using a fixed address is not portable, because that address will probably not be valid in all environments or platforms.
Impact: Execute Unauthorized Code or Commands
If one executes code at a known location, an attacker might be able to inject code there beforehand.
Impact: DoS: Crash, Exit, or RestartReduce MaintainabilityReduce Reliability
If the code is ported to another platform or environment, the pointer is likely to be invalid and cause a crash.
Impact: Read MemoryModify Memory
The data at a known pointer location can be easily read or influenced by an attacker.
c
// Here we can inject code to execute.*