Comment out a known-problematic assert in zdeflate.cpp (though I haven't actually seen it fail in OST). Later versions of Crypto++ comment out or remove this line, so this seems reasonable to do until I can figure out how to update the whole library
This commit is contained in:
		
							parent
							
								
									58dafd1d9e
								
							
						
					
					
						commit
						2e39db661b
					
				| 
						 | 
					@ -236,7 +236,7 @@ int Deflator::longest_match(IPos cur_match)
 | 
				
			||||||
   if (prev_length >= good_match) {
 | 
					   if (prev_length >= good_match) {
 | 
				
			||||||
       chain_length >>= 2;
 | 
					       chain_length >>= 2;
 | 
				
			||||||
   }
 | 
					   }
 | 
				
			||||||
   assert(strstart <= (unsigned)WINDOW_SIZE-MIN_LOOKAHEAD);
 | 
					   //assert(strstart <= (unsigned)WINDOW_SIZE-MIN_LOOKAHEAD);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
   do {
 | 
					   do {
 | 
				
			||||||
       assert(cur_match < strstart);
 | 
					       assert(cur_match < strstart);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue