daescha opened a new pull request, #203: URL: https://github.com/apache/datasketches-go/pull/203
Make `NewHllSketchFromSlice` return an error instead of panicking on malformed input. - `checkPreamble` now rejects unknown modes, unknown target HLL types and lgK outside 4..21. - The list, hash set, aux map and HLL array decoders check their counts and array sizes against the slice length. - `TestDeserializeCorruptBytes` covers two fuzz-found inputs, one bad-mode and one bad-lgK preamble, and every prefix of 8 bytes or more of compact and updatable HLL4/6/8 sketches. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
