aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/cpp/hello-lib.h
diff options
context:
space:
mode:
authorGravatar Loo Rong Jie <loorongjie@gmail.com>2018-06-07 07:16:59 -0700
committerGravatar Copybara-Service <copybara-piper@google.com>2018-06-07 07:18:45 -0700
commitc62d2271105ddeba2e738514f8ada38358493bc7 (patch)
treee76aebe69290427757e2a4c6af8c82662d2b044f /examples/cpp/hello-lib.h
parentaa2ff99ac6fbdbd2efaa6af75de0a285dd1120ca (diff)
[launcher] Don't pass std::string to C varargs function
`die` passes parameters to `vfprintf`. Passing `std::string` to this function might crash the program. Found by Clang on Windows. /cc @meteorcloudy Closes #5339. Change-Id: Iff7aa766770771262f91990774ff4d8de1fbeb5c PiperOrigin-RevId: 199630717
Diffstat (limited to 'examples/cpp/hello-lib.h')
0 files changed, 0 insertions, 0 deletions