Fix ASAN alloc-dealloc-mismatch on FreeBSD
The variable unique_ptr<char> should have been unique_ptr<char[]>. Instead of performing this one-line fix, we switched this finicky buffer business to vector<char> for improved safety and maintainability.
Showing
Please register or sign in to comment