On Sep 13, 2013, at 10:28 AM, Alexey Proskuryakov <[email protected]> wrote:

> 13 сент. 2013 г., в 10:13, Darin Adler <[email protected]> написал(а):
> 
>> Since there’s no runtime guarantee that the enum will have a valid value, I 
>> think there needs to be a return statement outside the switch, even if we 
>> have ASSERT_NOT_REACHED before it.
> 
> Should it be a RELEASE_ASSERT? If we have a bad value in an enum, it's likely 
> a memory smasher, so it's best to crash before it's exploited.

Sure, that’d be OK with me.

-- Darin
_______________________________________________
webkit-dev mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-dev

Reply via email to