Merge branch 'master' into NSSecureCoding_branch2

This commit is contained in:
Gregory John Casamento 2020-05-26 01:52:58 -04:00
commit 3a0420bddf

View file

@ -1398,7 +1398,7 @@ scalarSize(char type)
return;
case 4:
*(int32_t*)address = (int32_t)big;
if (big > 2147483647 || big < -2147483648)
if (big > 2147483647 || big + 2147483648 < 0 )
{
NSLog(@"Lost information converting decoded value to int32_t");
}