CWE DATABASE
About
GET A DEMO
Backslash Vulnerability Database
Assignment of a Fixed Address to a Pointer
Assignment of a Fixed Address to a Pointer
CWE-587
Short description
The product sets a pointer to a specific address other than NULL or 0.
Extended description
Using a fixed address is not portable, because that address will probably not be valid in all environments or platforms.
Best practices to prevent this CWE
Phase: Implementation
Never set a pointer to a fixed address.