fixed size of file block checking
This commit is contained in:
parent
25feb4f9fb
commit
b473c8f198
|
|
@ -244,7 +244,7 @@ void FileBlockHandler(char *argres, int rw)
|
||||||
jRead(argres, "{'dat'", &result);
|
jRead(argres, "{'dat'", &result);
|
||||||
if (result.elements == 1)
|
if (result.elements == 1)
|
||||||
{
|
{
|
||||||
if (result.bytelen > 0 && result.bytelen <= FileTransaction.size)
|
if (result.bytelen > 0)
|
||||||
{
|
{
|
||||||
unsigned char *dst;
|
unsigned char *dst;
|
||||||
size_t dlen, olen;
|
size_t dlen, olen;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user