Skip to content

build/run against zlib < 1.2.3.5 results in panic in uncompress_stdmac() #165

@sezero

Description

@sezero

build/run against zlib < 1.2.3.5 results in panic in uncompress_stdmac():
https://github.com/netwide-assembler/nasm/blob/master/asm/uncompress.c#L43-L44

0 as windowBits is illegal in inflateInit2() from zlib < 1.2.3.5 :
https://github.com/madler/zlib/blob/develop/ChangeLog#L613

Ran into this on (yes: outdated/eol) CentOS 6.

It would be nice that nasm detect old zlib at configure time and fall
back to embedded version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions