fgerlits commented on code in PR #1953:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1953#discussion_r2032740887
##########
extensions/sftp/client/SFTPClient.cpp:
##########
@@ -719,8 +719,8 @@ bool SFTPClient::listDirectory(const std::string& path,
bool follow_symlinks,
});
LIBSSH2_SFTP_ATTRIBUTES attrs;
- std::vector<char> filename(4096U);
- std::vector<char> longentry(4096U);
+ std::array<char, utils::configuration::DEFAULT_BUFFER_SIZE> filename{};
Review Comment:
this is the same suggestion as the one below it
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]