Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: When the length of `pkcs12.second.c_str()` is equal to `length`, strncpy won't write a null-terminator at the end of the destination string, making the destination unsafe to read and potentially cause an overflow. Reviewed By: lblasa Differential Revision: D46934320 fbshipit-source-id: 5e7acd49523b80105bcc47471facd9ff23b8a2b8
- Loading branch information