Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

console output stating bit length overflow

When I run my app I get this output to the console:

bit length overflow code 11 bits 7->5 code 16 bits 4->5

bit length overflow code 4 bits 6->7

bit length overflow code 3 bits 6->7 code 0 bits 6->7

bit length overflow code 16 bits 4->5

bit length overflow code 4 bits 6->7 code 5 bits 6->5 code 16 bits 4->5

bit length overflow code 16 bits 4->5

bit length overflow code 0 bits 6->7

bit length overflow code 11 bits 6->7

The app zips up 3 files and saves it to its documents folder and all seems OK....apart from this output.

UPDATED:

NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; 

@try { 
    NSString *docsPath =[NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) lastObject];
    NSString *filePath = [docsPath stringByAppendingPathComponent:@"ZipTest.zip"]; 
    ZipFile *zipFile = [[ZipFile alloc] initWithFileName:filePath mode:ZipFileModeCreate]; 
    ZipWriteStream *stream; 

    if (self.textSwitch.on) { 
        stream = [zipFile writeFileInZipWithName:@"text.txt" compressionLevel:ZipCompressionLevelBest];
    } 
    [zipFile close]; 
    [zipFile release]; 
} 
@catch (ZipException *ze) {} 
@catch (id e) {} 

[pool drain];

What does it mean?

Thanks

like image 882
user7865437 Avatar asked Jun 02 '11 19:06

user7865437


1 Answers

According to this Mozilla bugthese are caused by building ZLIB in debug mode and are harmless.. You could look into always building a release version of ZLIB.

like image 148
SteveS Avatar answered Sep 28 '22 16:09

SteveS