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:
Brian Cox 2017-03-14 00:32:16 -07:00
parent 58dafd1d9e
commit 2e39db661b
1 changed files with 1 additions and 1 deletions

View File

@ -236,7 +236,7 @@ int Deflator::longest_match(IPos cur_match)
if (prev_length >= good_match) {
chain_length >>= 2;
}
assert(strstart <= (unsigned)WINDOW_SIZE-MIN_LOOKAHEAD);
//assert(strstart <= (unsigned)WINDOW_SIZE-MIN_LOOKAHEAD);
do {
assert(cur_match < strstart);