Skip to content

Test failure on 32 bits arches #58

@eclipseo

Description

@eclipseo

With version 0.0.2 on Golang 1.15, the tests are failing on ARMv7hl and i686:

Testing    in: /builddir/build/BUILD/snappy-0.0.2/_build/src
         PATH: /builddir/build/BUILD/snappy-0.0.2/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin
       GOPATH: /builddir/build/BUILD/snappy-0.0.2/_build:/usr/share/gocode
  GO111MODULE: off
      command: go test -buildmode pie -compiler gc -ldflags " -X github.com/golang/snappy/version=0.0.2 -extldflags '-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld  '"
      testing: github.com/golang/snappy
github.com/golang/snappy
--- FAIL: TestDecode (0.00s)
    snappy_test.go:365: #29 (decodedLen=0; tagCopy4, 4 extra length|offset bytes; with msb set (0x93); discovered by go-fuzz):
        got  "", snappy: unsupported literal length
        want "", snappy: corrupt input
FAIL
exit status 1
FAIL	github.com/golang/snappy	0.628s

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions