fixup decode logic for fragmented IOBufs
authorWez Furlong <wez@fb.com>
Fri, 19 Jan 2018 02:39:48 +0000 (18:39 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Fri, 19 Jan 2018 03:09:44 +0000 (19:09 -0800)
commit93f4d05d584569bdede7e2d124a21c31559ea93e
tree31a7eec200a99cdec178038481d0804a4bf6dd52
parent6374f552672fe630d7060937593c1982be448b87
fixup decode logic for fragmented IOBufs

Summary:
D6635325 exposed a long standing issue with the way
that we were consuming Cursor::length, so let's fix it up!

More details are in the new unit test for this!

Reviewed By: spalamarchuk

Differential Revision: D6755842

fbshipit-source-id: f8b20406c32682892791e7375be577d54d52e0ad
folly/experimental/bser/Load.cpp
folly/experimental/bser/test/BserTest.cpp