mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-13 21:32:14 +08:00
fix buffer overflow (#1871)
old-commit-hash: c788aa99ddb78e3a01ad3685f5e8be84c7806481
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user