snappy-java icon indicating copy to clipboard operation
snappy-java copied to clipboard

Snappy compressor/decompressor for Java

Results 68 snappy-java issues
Sort by recently updated
recently updated
newest added

## About this PR 📦 Updates * [org.scala-sbt:sbt](https://github.com/sbt/sbt) * [org.scala-sbt:scripted-plugin](https://github.com/sbt/sbt) from `1.10.7` to `1.10.10` 📜 [GitHub Release Notes](https://github.com/sbt/sbt/releases/tag/v1.10.10) - [Version Diff](https://github.com/sbt/sbt/compare/v1.10.7...v1.10.10) ## Usage ✅ **Please merge!** I'll automatically update this...

library-update
early-semver-patch
semver-spec-patch
commit-count:1
version-scheme:early-semver

In SnappyInputStream, `OutOfMemoryError` is used to validate the buffer size to allocated. https://github.com/xerial/snappy-java/blob/dfbf67a4cb49930aa7be2bf6c6d9e77e6aba79e2/src/main/java/org/xerial/snappy/SnappyInputStream.java#L451-L456 This's a bad way to validate buffer size as explain [here](https://github.com/xerial/snappy-java/commit/3bf67857fcf70d9eea56eed4af7c925671e8eaea#commitcomment-122339495). And another serious consequence, catching `OutOfMemoryError`...

As discussed per https://github.com/xerial/snappy-java/issues/629, removing the OOM catch in snappy. The chunkSize validation has been added/tested already as per https://github.com/xerial/snappy-java/commit/9f8c3cf74223ed0a8a834134be9c917b9f10ceb5. The test is there in `org.xerial.snappy.SnappyTest#isInvalidChunkLengthForSnappyInputStream`.

# Problem When importing a data source of a file that was previously compressed using the snappy compression algorithm, the compression fails with the following exception: ``` Error loading shared...

doc
feature

The snappy native library terminates with abort signal during initialization with the following error: ``` terminate called after throwing an instance of '__gnu_cxx::recursive_init_error' what(): std::exception ``` The problem occurs on...

We have encountered an issue with the library not functioning correctly on the ppc64le processor architecture. This incompatibility is preventing the complete installation of Talend runtime (Apache Karaf). I found...

### Description The uncompress() method in snappy-java lacks proper validation of the uncompressedLength, which leads to a potential Denial of Service (DoS) vulnerability. Specifically, with only 5 bytes of input,...

To avoid repeated allocation of temporary space, we hope to add an interface to pass a specified reusable output array for the unshuffle operation. For example: ```java long[] unshuffled =...

I've observed that while running the snappy in the IBM AIX 7.2 it gives the error, ``` Exception in thread "main" org.xerial.snappy.SnappyError: [FAILED_TO_LOAD_NATIVE_LIBRARY] no native library is found for os.name=AIX...

I have stumbled upon a problem when using a snappy-java library bundled with a software package. In my case my operating system is FreeBSD 14.1. The bundled native library seems...