folly: fbvector: ubsan: don't call memcpy() with nullptr args if size == 0
authorMarcus Holland-Moritz <mhx@fb.com>
Tue, 17 May 2016 20:08:17 +0000 (13:08 -0700)
committerFacebook Github Bot 2 <facebook-github-bot-2-bot@fb.com>
Tue, 17 May 2016 20:23:30 +0000 (13:23 -0700)
commit1072a897f5c17f2d13de16450059baa81c61d525
tree1ab36d85a67357388a6c53de851e361479138e96
parent01dbb37f94558e8793137943b5fd97fe9d64d594
folly: fbvector: ubsan: don't call memcpy() with nullptr args if size == 0

Reviewed By: meyering, luciang

Differential Revision: D3310683

fbshipit-source-id: c86471d54062b2f3455f15fb73340fac486d9e44
folly/FBVector.h