File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -333,13 +333,15 @@ CompressedOffloadBundle::compress(compression::Params P,
333333  if  (Version == 2 ) {
334334    //  For V2, ensure the sizes don't exceed 32-bit limit.
335335    if  (UncompressedSize64 > std::numeric_limits<uint32_t >::max ())
336-       return  createStringError (inconvertibleErrorCode (),
337-                                " uncompressed size exceeds version 2 limit"  );
336+       return  createStringError (
337+           inconvertibleErrorCode (),
338+           " uncompressed size exceeds version 2 unsigned 32-bit integer limit"  );
338339    if  ((MagicNumber.size () + sizeof (uint32_t ) + sizeof (Version) +
339340         sizeof (CompressionMethod) + sizeof (uint32_t ) + sizeof (TruncatedHash) +
340341         CompressedBuffer.size ()) > std::numeric_limits<uint32_t >::max ())
341-       return  createStringError (inconvertibleErrorCode (),
342-                                " total file size exceeds version 2 limit"  );
342+       return  createStringError (
343+           inconvertibleErrorCode (),
344+           " total file size exceeds version 2 unsigned 32-bit integer limit"  );
343345
344346    TotalFileSize64 = MagicNumber.size () + sizeof (uint32_t ) + sizeof (Version) +
345347                      sizeof (CompressionMethod) + sizeof (uint32_t ) +
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments