* asserted chunksize should be in the bounds of 0-java.outofmmeoryexception
* asserted chunksize should be in the bounds of 0-java.outofmmeoryexception
* https://github.com/xerial/snappy-java-ghsa-qcwq-55hx-v3vh/pull/2
* advisory-fix-3
* added and changed method name for happy and sad cases in SnappyTest.java
* removed expected error for happy case in unit testing
* added another unit test case in SnappyTest.java and fixed comments in SnappyInputStream.java
* switched SnappyError to INVALID_CHUNK_SIZE
* Updated unit tests
* Resolved conflicts with another PR merge
* Fixed integer overflow by checking if multiplication result is smaller than original value
* Fixed integer overflow by checking if multiplication result is smaller than original value
* Fixed integer overflow by checking if multiplication result is smaller than original value
* imporved error messages and added happy and sad cases for unit test in SnappyTest.java
* switched SnappyError into ILLEGAL_ARGUMENT in SnappyErrorCode.java and Snappy.java
* wrote new and updated unit test methods
* updated comments in SnappyTest.java
* Fixed and updated unit tests in SnappyTest.java
* trigger build native on PR and push
Signed-off-by: Sudip Roy <sudiproy1999@gmail.com>
* Add branch master
* Trigger native lib build only for PRs
* Test native lib build trigger
* Targetting the PR repo
* Add comment to trigger native lib build
* Fix syntax error
* Test with write permission
* Test with contents: write
* Test
* test
* Use gh pr checkout
* fix
* Add checkout phase
* test target repo:
* Try bot user
* clanup
* Use PAT
* Use different user
* simplify
* fix
* test
* Fix token
* revert
* Try push action
* use the same token
* fix tab
* Set ref
* Create a new PR for every master update
* fix
* fix indent
* Use native-all
---------
Signed-off-by: Sudip Roy <sudiproy1999@gmail.com>
Co-authored-by: Taro L. Saito <leo@xerial.org>
* Feature: Use LTS cross-compiler for Linux armv6/armv7 to use glibc 2.28
* Use softfp for armv7
* Fix armv6 config
* Update native libraries
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* ByteBuffer.limit() compiled with JDK9+ shows java.lang.NoSuchMethodError: java.nio.ByteBuffer.limit(I)Ljava/nio/ByteBuffer; error in JDK8
* Set --release 8 JDK option
* Do not use --release 8 option in JDK8