liutang123 commented on code in PR #24003: URL: https://github.com/apache/doris/pull/24003#discussion_r1319474012
########## be/src/vec/runtime/vcsv_transformer.cpp: ########## @@ -130,45 +135,45 @@ Status VCSVTransformer::write(const Block& block) { // For example: For a double value 27361919854.929001, // the direct output of using std::stringstream is 2.73619e+10, // and after conversion to a string, it outputs 27361919854.929001 - char buffer[MAX_DOUBLE_STR_LENGTH + 2]; + char buffer[MAX_DOUBLE_STR_LENGTH + 2] = "\0"; double double_value = *reinterpret_cast<const double*>(col.column->get_data_at(i).data); buffer[0] = '\0'; Review Comment: This line can be removed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org