Skip to content
Snippets Groups Projects
Commit 3d0226ca authored by Jakub Jelen's avatar Jakub Jelen
Browse files

examples: Avoid using uninitialized memory

parent 0bcd7d12
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -8,7 +8,7 @@
int main(void) {
ssh_session session;
ssh_channel channel;
char buffer[1024*1024];
char buffer[1024 * 1024] = {0};
int rc;
uint64_t total=0;
uint64_t lastshown=4096;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment