Enable exceptions on serialization of out-of-range ints
commit8f91a42482feb9d7215213fd57c2b18dc67b5418
authorVictor Zverovich <viz@fb.com>
Thu, 30 Jan 2020 14:27:42 +0000 (30 06:27 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 30 Jan 2020 14:29:53 +0000 (30 06:29 -0800)
treeaeba39c475595134a6708cd6759b17b09004ba3e
parent52c930577f11f8e3992ddbdac1b0df7b175899e0
Enable exceptions on serialization of out-of-range ints

Summary: Main sources of integer out-of-range errors in Thrift compact serializer have been fixed as part of T34056068. The remaining problematic fields and parameters have been annotated with `ThriftDeprecatedSkipSerializerChecks` in D19452852 which suppresses exceptions for those specific cases. This diff enables throwing exceptions on serialization errors in hhvm.

Reviewed By: ottoni

Differential Revision: D15496419

fbshipit-source-id: 0f47bce5608f8472e1074a6a087c7e68367a9298
hphp/runtime/base/runtime-option.h