digitalmars.D.bugs - std.zlib uncompress bug (dmd win32)
- zwang <nehzgnaw gmail.com> Oct 06 2005
- "Walter Bright" <newshound digitalmars.com> Oct 15 2005
import std.zlib;
void main(){
try{
uncompress(x"42");
assert(0);
}catch(ZlibException e){
}
}
//instead of throwing a ZlibException, std.zlib.uncompress runs forever.
Oct 06 2005
"zwang" <nehzgnaw gmail.com> wrote in message news:di3bqr$p2u$1 digitaldaemon.com...import std.zlib; void main(){ try{ uncompress(x"42"); assert(0); }catch(ZlibException e){ } } //instead of throwing a ZlibException, std.zlib.uncompress runs forever.
This appears to be a problem with inflate() in the C zlib library from info-zip.com.
Oct 15 2005








"Walter Bright" <newshound digitalmars.com>