Giter VIP home page Giter VIP logo

Comments (8)

dgryski avatar dgryski commented on June 20, 2024

This should come up easily with fuzzing if you want to go that route.

The regular decode routine has been fuzzed pretty heavily.

from snappy.

dgryski avatar dgryski commented on June 20, 2024

Any update on getthig this data? I ran several billion fuzzed cases through the asm decoder and the Go one with no mismatch in behaviour or panics.

from snappy.

nigeltao avatar nigeltao commented on June 20, 2024

Did you fuzz the Reader type as well as the Decode function? The bug might be in the framing format decoder, not in the core decoder.

from snappy.

dgryski avatar dgryski commented on June 20, 2024

Good point. I did not. I was focusing on the asm core. I'll fuzz the framing reader Monday.

from snappy.

nigeltao avatar nigeltao commented on June 20, 2024

You might not need to. I think there's an obvious bug. Code coming...

from snappy.

nigeltao avatar nigeltao commented on June 20, 2024

I'm calling this bug fixed, but I think that your compressed files are still corrupt somehow. It's just that the corruption should now return an error instead of panic.

from snappy.

daaku avatar daaku commented on June 20, 2024

Thanks for the fix. And yes the files were corrupt!

from snappy.

dgryski avatar dgryski commented on June 20, 2024

I fuzzed NewReader()/Read() for several billion iterations and didn't find anything.

Final line before ^C:
2016/04/05 10:00:47 slaves: 28, corpus: 220 (19h19m ago), crashers: 0, restarts: 1/10000, execs: 6920725600 (84639/sec), cover: 154, uptime: 22h42m

from snappy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.