fix buffer overflow (#1871)

This commit is contained in:
Dean Lee
2020-07-23 21:52:59 +08:00
committed by GitHub
parent 2232efbcd4
commit c788aa99dd
+1 -1
View File
@@ -740,7 +740,7 @@ void hexdump(unsigned char *d, int l) {
void _pigeon_send(const char *dat, int len) {
int sent;
unsigned char a[0x20];
unsigned char a[0x20+1];
int err;
a[0] = 1;
for (int i=0; i<len; i+=0x20) {