Pattern: memset()
value out of range
Issue: -
The 2nd memset()
argument doesn’t fit into an unsigned char
. The 2nd parameter is passed as an int
, but the function fills the block of memory using the unsigned char
conversion of this value.
Pattern: memset()
value out of range
Issue: -
The 2nd memset()
argument doesn’t fit into an unsigned char
. The 2nd parameter is passed as an int
, but the function fills the block of memory using the unsigned char
conversion of this value.