projects
/
folly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
4bfbe0a
)
Add DCHECKs for checking that underlying IOBuf wasn't modified
author
Stepan Palamarchuk
<stepan@fb.com>
Wed, 17 Jan 2018 17:39:12 +0000
(09:39 -0800)
committer
Facebook Github Bot
<facebook-github-bot@users.noreply.github.com>
Wed, 17 Jan 2018 17:45:29 +0000
(09:45 -0800)
Summary: Appending/prepending to IOBuf while iterating over it with Cursor is unsafe. This diff adds DCHECKs to catch such cases.
Reviewed By: yfeldblum
Differential Revision:
D6735060
fbshipit-source-id:
7799facc52c53fabd83756ecb26a18c4ebd69677
No differences found