...
To prevent this error, size parameters should not be operated on in a way that they are stored in different data types. Furthermore, size should be checked for integer conversion errors before they are supplied to malloc, calloc, or realloc.
Non-compliant Code Example 1
| Code Block |
|---|
// todo
|