-
Bug
-
Resolution: Fixed
-
Medium
-
Code Generation Tools
-
CODEGEN-7146
-
-
-
default
-
Use -Ooff to turn off the optimizer, or ensure that only size_t variables are used as the count argument to memcpy().
-
Calls to memcpy which use an expression of an integer type smaller than size_t for the length argument may fail to zero-extend the value to size_t, which may result in the length value seen by the memcpy function to be garbage.
Calls to memcpy which use an expression of an integer type smaller than size_t for the length argument may fail to sign- or zero-extend the value to size_t, which may result in the length value seen by the memcpy function to be garbage.