mirror of
https://github.com/hufrea/byedpi.git
synced 2024-12-22 06:15:14 +00:00
Fix tlsrec on range
This commit is contained in:
parent
1ed00ea6d9
commit
fdb91ecf17
2
desync.c
2
desync.c
@ -474,7 +474,7 @@ static ssize_t tamp(char *buffer, size_t bfsize, ssize_t n,
|
|||||||
pos += gen_offset(part.pos,
|
pos += gen_offset(part.pos,
|
||||||
part.flag, buffer, n - pos, lp, info);
|
part.flag, buffer, n - pos, lp, info);
|
||||||
|
|
||||||
if (part.pos != pos) {
|
if (part.pos < 0 || part.flag) {
|
||||||
pos -= 5;
|
pos -= 5;
|
||||||
}
|
}
|
||||||
pos += (long )part.s * (part.r - r);
|
pos += (long )part.s * (part.r - r);
|
||||||
|
Loading…
Reference in New Issue
Block a user