bcopy32 should take size_t length
commitdeab5f3793bbce2f298124115dca006dd2003369
authorEdwin Smith <smith@fb.com>
Wed, 15 Nov 2017 10:37:33 +0000 (15 02:37 -0800)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Wed, 15 Nov 2017 10:47:56 +0000 (15 02:47 -0800)
tree8abaf60375bed21aa4f930a1290e8d45838cd0e7
parentadfe5e295553176f93594681b3f0b26fba50f65b
bcopy32 should take size_t length

Summary: We could overflow when copying a very large array.

Reviewed By: alexeyt

Differential Revision: D6312902

fbshipit-source-id: 477ad79b44a78b95d6f320c4a7a7ab213d9e1fb6
hphp/util/memcpy-x64.S
hphp/util/word-mem.h