mirror of
https://github.com/hufrea/byedpi.git
synced 2025-03-14 12:58:48 +03:00
fix: overwrite request if split
This commit is contained in:
parent
a5d94d1d7e
commit
13d0a9e4ed
2 changed files with 2 additions and 2 deletions
2
extend.c
2
extend.c
|
@ -366,7 +366,7 @@ int on_desync(struct poolhd *pool, struct eval *val,
|
|||
uniperror("realloc");
|
||||
return -1;
|
||||
}
|
||||
memcpy(val->buff.data + val->buff.offset, buffer, n);
|
||||
memcpy(val->buff.data + val->buff.size - n, buffer, n);
|
||||
|
||||
int m = val->attempt;
|
||||
if (!m) for (; m < params.dp_count; m++) {
|
||||
|
|
2
main.c
2
main.c
|
@ -24,7 +24,7 @@
|
|||
#define close(fd) closesocket(fd)
|
||||
#endif
|
||||
|
||||
#define VERSION "10.1"
|
||||
#define VERSION "10.2"
|
||||
|
||||
char oob_char[1] = "a";
|
||||
char ip_option[1] = "\0";
|
||||
|
|
Loading…
Add table
Reference in a new issue