Fixed possible buffer overflow in packet escaping.

This commit is contained in:
Daniel Beer 2010-01-03 13:24:36 +13:00
parent 36442955ad
commit ce5b4c7940
1 changed files with 1 additions and 1 deletions

2
fet.c
View File

@ -170,7 +170,7 @@ static int send_command(const char *data, int datalen,
char datapkt[256];
int len = 0;
char buf[256];
char buf[512];
u_int16_t cksum;
int i = 0;
int j;