mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
vm bugfixes
This commit is contained in:
parent
e27fb1e09c
commit
dd4ac0f440
9 changed files with 107 additions and 30 deletions
|
@ -95,7 +95,8 @@ td::Result<std::pair<std::string, td::BufferSlice>> Package::read(td::uint64 off
|
|||
return td::Status::Error(ErrorCode::notready, "too short read");
|
||||
}
|
||||
if ((header[0] & 0xffff) != entry_header_magic()) {
|
||||
return td::Status::Error(ErrorCode::notready, "bad entry magic");
|
||||
return td::Status::Error(ErrorCode::notready,
|
||||
PSTRING() << "bad entry magic " << (header[0] & 0xffff) << " offset=" << offset);
|
||||
}
|
||||
offset += 8;
|
||||
auto fname_size = header[0] >> 16;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue