folly: ubsan: fix "reference binding to null pointer of type 'char'"
authorLucian Grijincu <lucian@fb.com>
Tue, 10 May 2016 00:50:08 +0000 (17:50 -0700)
committerFacebook Github Bot 4 <facebook-github-bot-4-bot@fb.com>
Tue, 10 May 2016 01:05:26 +0000 (18:05 -0700)
commitc03fd9b73f75e78d631c9ce14d9ea3fd4d4909af
treecb00cc8ecbec148cc4a509eab88be05bea79407d
parentdc8c21a9e9d7fb174f822778734556d1f37e6ae0
folly: ubsan: fix "reference binding to null pointer of type 'char'"

Summary:
third-party-buck/build/libgcc/include/c++/4.9.x/bits/stl_vector.h:866:9: runtime error: reference binding to null pointer of type 'char'

```
Breakpoint 2, 0x0000000000494894 in __ubsan_handle_type_mismatch_abort ()
(gdb) bt
```

Reviewed By: meyering, yfeldblum

Differential Revision: D3279234

fbshipit-source-id: 63a761587e5b3f79ece09fc99b9a593da0e44b75
folly/test/FBStringTest.cpp