fix buffer overflow (#1871)

old-commit-hash: c788aa99ddb78e3a01ad3685f5e8be84c7806481
This commit is contained in:
Dean Lee
2020-07-23 21:52:59 +08:00
committed by GitHub
parent 3d1cda5a5e
commit c95063426a
+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) {