Fix uninitialized buffer in irc client
This commit is contained in:
parent
1b030089e7
commit
ec8b2a3c4f
|
@ -490,7 +490,7 @@ int main(int argc, char * argv[]) {
|
||||||
memset(net_buf, 0, 2048);
|
memset(net_buf, 0, 2048);
|
||||||
int net_buf_p = 0;
|
int net_buf_p = 0;
|
||||||
|
|
||||||
char buf[1024];
|
char buf[1024] = {0};
|
||||||
int buf_p = 0;
|
int buf_p = 0;
|
||||||
|
|
||||||
while (1) {
|
while (1) {
|
||||||
|
|
Loading…
Reference in New Issue