Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
  • Loading branch information
richardkchapman committed Nov 13, 2024
1 parent bb904ee commit 69c996b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/jhtree/ctfile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1283,7 +1283,7 @@ size32_t CJHTreeBlobNode::getTotalBlobSize(unsigned offset) const

size32_t CJHTreeBlobNode::getBlobData(unsigned offset, void *dst) const
{
unsigned sizeHere = getTotalBlobSize(offset);
unsigned sizeHere = getTotalBlobSize(offset); // Reads a reversed length - NOT the total size when called from within a single chunk. Bad name
offset += sizeof(unsigned);
if (sizeHere > expandedSize - offset)
sizeHere = expandedSize - offset;
Expand Down

0 comments on commit 69c996b

Please sign in to comment.