diff options
author | 2018-06-07 07:16:59 -0700 | |
---|---|---|
committer | 2018-06-07 07:18:45 -0700 | |
commit | c62d2271105ddeba2e738514f8ada38358493bc7 (patch) | |
tree | e76aebe69290427757e2a4c6af8c82662d2b044f /examples/cpp/hello-lib.h | |
parent | aa2ff99ac6fbdbd2efaa6af75de0a285dd1120ca (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