Fix CHECK_ENOUGH in fb_unserialize
commit945f43706e9f9c3dec7dfb70ab9af7ee9f7a55eb
authorRick Lavoie <rlavoie@fb.com>
Mon, 5 Aug 2019 22:58:13 +0000 (5 15:58 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Mon, 5 Aug 2019 23:03:24 +0000 (5 16:03 -0700)
tree9dae76f54a65c4d7b85f16be36398118b6318a86
parent056e819f47608b5d359c905bb920a0a1cd15d214
Fix CHECK_ENOUGH in fb_unserialize

Summary:
CHECK_ENOUGH was casting things which might be int64_t to
int.

Reviewed By: mofarrell

Differential Revision: D16651507

fbshipit-source-id: ec8972258d1608666cede4e4e0454103472caf1f
hphp/runtime/ext/fb/ext_fb.cpp
hphp/test/slow/ext_fb/unserialize_t48403632.php [new file with mode: 0644]
hphp/test/slow/ext_fb/unserialize_t48403632.php.expect [new file with mode: 0644]