Commit Graph

1171 Commits

Author SHA1 Message Date
github-actions[bot] 0fff1ac8f5
Update native libraries for e6d1196bc6 (#519)
Co-authored-by: xerial <xerial@users.noreply.github.com>
2023-09-26 13:34:23 -07:00
Taro L. Saito e6d1196bc6
internal fix: Use Windows-aarch64 target name and compiler options (#518)
* internal fix: Use Windows-aarch64 target name

* Fix compiler

* Fix strip command

* Use the same compiler flags with other Windows
2023-09-26 11:08:32 -07:00
Taro L. Saito 3c67a7b51c
ppc64-le (Fix): Use an LTS-version of cross-compiler for Linux ppc64-le (#516)
* ppc64-le (Fix): Use an LTS-version of cross-compiler for Linux ppc64-le

* Update native libraries for 4764a47e75 (#517)

Co-authored-by: xerial <xerial@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: xerial <xerial@users.noreply.github.com>
2023-09-26 09:59:36 -07:00
dependabot[bot] 67f5d26981
Bump jwlawson/actions-setup-cmake from 1.13 to 1.14 (#514)
Bumps [jwlawson/actions-setup-cmake](https://github.com/jwlawson/actions-setup-cmake) from 1.13 to 1.14.
- [Release notes](https://github.com/jwlawson/actions-setup-cmake/releases)
- [Commits](https://github.com/jwlawson/actions-setup-cmake/compare/v1.13...v1.14)

---
updated-dependencies:
- dependency-name: jwlawson/actions-setup-cmake
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-26 09:14:57 -07:00
Sudip Roy ee96b64c7d
Feature: Add Windows arm64 support (#511)
* add arm64 support

* update Makefile
2023-09-26 09:14:40 -07:00
Vinesh Chemmala Paul 0016fed5b4
Fix GLIBC_2.32 not found error on IBM PowerPC LE RedHat 8.6 OS (required by /libsnappyjava.so) #512 (#515)
Co-authored-by: Vinesh Chemmala Paul <vpaul@cloudera.com>
2023-09-26 09:11:49 -07:00
Taro L. Saito 681b2e1b96
internal: Support JDK21 (#510)
* Test with JDK21

* Use setup-java

* fix test
2023-09-23 22:02:46 -07:00
BD 9f8c3cf742
Merge pull request from GHSA-55g7-9cwv-5qfv
* Validate chunk size to be within a configured maximum

* Add constructors to have max size configurable

* Code cleanup

* Use 512MB for consistency

---------

Co-authored-by: Taro L. Saito <leo@xerial.org>
2023-09-23 15:55:18 -07:00
xerial-bot 49d700175f
Update airframe-log to 23.9.2 (#509) 2023-09-23 15:10:34 -07:00
github-actions[bot] 1f07c3182c
Update native libraries for f2e97f27be (#503)
Co-authored-by: xerial <xerial@users.noreply.github.com>
2023-09-22 14:10:14 -07:00
xerial-bot 13f8db197c
Update sbt to 1.9.6 (#505) 2023-09-22 13:42:25 -07:00
Taro L. Saito f2e97f27be
feature: Upgrade the internal snappy version to 1.1.10 (1.1.8 was wrongly used before) (#508)
* Upgrade to snappy 1.1.10 binary

* Use a specific snappy version

* Use cmake 3.16.x for mac-x86_64

* Add -ftemplate-depth for Mac x86_64 build
2023-09-22 13:41:36 -07:00
xerial-bot 98b22256fe
Update airframe-log to 23.9.1 (#504) 2023-09-12 09:31:07 -07:00
Sudip Roy 9f29b5c0f8
Update NOTICE (#492)
* Update NOTICE

Update Notice

* Update NOTICE
2023-09-12 09:30:32 -07:00
xerial-bot 55639b55de
Update sbt-scalafmt to 2.5.1 (#499)
Co-authored-by: Taro L. Saito <leo@xerial.org>
2023-09-11 23:56:17 -07:00
xerial-bot a5d81a6589
Update airframe-log to 23.8.6 (#497) 2023-09-11 23:55:22 -07:00
xerial-bot 6495da1af2
Update scalafmt-core to 3.7.14 (#501) 2023-09-07 09:14:01 -07:00
xerial-bot bc15373ad7
Update sbt-scalafmt to 2.5.2 (#500) 2023-09-05 07:24:37 -07:00
xerial-bot bfda514819
Update sbt to 1.9.4 (#496) 2023-09-05 07:24:05 -07:00
dependabot[bot] 634e1a2dc4
Bump actions/checkout from 3 to 4 (#502)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-05 07:23:54 -07:00
xerial-bot 650587eb7b
Update airframe-log to 23.8.0 (#488) 2023-08-05 16:28:10 -07:00
xerial-bot bfd480e696
Update scalafmt-core to 3.7.12 (#487) 2023-08-05 16:28:02 -07:00
xerial-bot d4ca6e330b
Update airframe-log to 23.7.4 (#486) 2023-07-30 17:14:46 -07:00
xerial-bot db7f7103ad
Update sbt to 1.9.3 (#483) 2023-07-30 17:14:38 -07:00
xerial-bot b6c8227bf2
Update scalafmt-core to 3.7.11 (#485) 2023-07-30 17:14:31 -07:00
github-actions[bot] 25261c457e
Update native libraries for de674f6d73 (#482)
Co-authored-by: xerial <xerial@users.noreply.github.com>
2023-07-21 10:31:50 -07:00
Kun Lu de674f6d73
Fix the `GLIBC_2.32' not found issue on s390x (#481)
Signed-off-by: Kun-Lu <kun.lu@ibm.com>
2023-07-21 10:16:52 -07:00
xerial-bot f3baef0707
Update scalafmt-core to 3.7.10 (#480) 2023-07-17 10:14:31 -07:00
xerial-bot 13b907da52
Update airframe-log to 23.7.2 (#479) 2023-07-13 09:06:46 -07:00
xerial-bot 589b5d36a5
Update sbt to 1.9.2 (#476) 2023-07-12 19:11:35 -07:00
xerial-bot baa67e5d05
Update scalafmt-core to 3.7.9 (#478) 2023-07-12 19:11:19 -07:00
github-actions[bot] 119cf4ceed
Update native libraries for 33b6510b6b (#475)
Co-authored-by: xerial <xerial@users.noreply.github.com>
2023-07-11 10:06:06 -07:00
xerial-bot 67f8f8155b
Update airframe-log to 23.7.1 (#473) 2023-07-08 11:45:42 -07:00
xerial-bot c8c8e1321b
Update scalafmt-core to 3.7.7 (#472) 2023-07-08 11:45:35 -07:00
Namrata Bhave 33b6510b6b
Update libsnappy.so for s390x (#474) 2023-07-08 11:44:08 -07:00
xerial-bot f350a98189
Update airframe-log to 23.7.0 (#471) 2023-07-05 10:38:00 -07:00
xerial-bot bfdb45e0e6
Update scalafmt-core to 3.7.6 (#470) 2023-07-05 10:37:53 -07:00
xerial-bot d71e1584d0
Update sbt to 1.9.1 (#467) 2023-06-27 14:52:10 -07:00
xerial-bot 2c3b7005e1
Update airframe-log to 23.6.2 (#465) 2023-06-23 12:50:51 -07:00
xerial-bot f8bc4cc078
Update airframe-log to 23.6.1 (#463) 2023-06-19 14:25:06 -07:00
xerial-bot 33441eec73
Update sbt-dynver to 5.0.1 (#461) 2023-06-16 14:55:43 -07:00
xerial-bot 8649a62eef
Update airframe-log to 23.6.0 (#460) 2023-06-14 16:53:52 -07:00
xerial-bot 60a0cad5cc
Update airframe-log to 23.5.7 (#458) 2023-06-14 16:39:19 -07:00
aidanchiu1112 737f3973ff
CI Fix to Prevent Checks Dealing with Large Array Sizes (#459)
* Fix spacing with comment

* Updated code

* Test: Added Assume catches for each failed tests

* Added and implemented separate method to check if System CI is false

* Added a null check to ensure assumingCIIsFalse() method runs locally as well

* Changed assumeTrue to assumeFalse
2023-06-14 14:51:14 -07:00
aidanchiu1112 d0042551e4
Merge pull request from GHSA-fjpj-2g6w-x25r
* Fixed integer overflow by checking if bytesize is bigger than input length, then throwing exception

* Fixed integer overflow by checking if bytesize is bigger than input length, then throwing exception

* Fixed integer overflow by checking if bytesize is bigger than input length, then throwing exception

* improved error messages by adding new error enum INPUT_TOO_LARGE in SnappyErrorCode.java, and added happy and sad cases in SnappyTest.java

* fixed mispelling: validArrayInputLength --> isInvalidArrayInputLength

* switched SnappyError into ILLEGAL_ARGUMENT in SnappyErrorCode.java and Snappy.java and fixed a typo in error comment

* Fix buffer size boundary tests

* Remove negative array size tests

* updated comments for unit test

---------

Co-authored-by: Taro L. Saito <leo@xerial.org>
2023-06-14 11:06:30 -07:00
aidanchiu1112 3bf67857fc
Merge pull request from GHSA-qcwq-55hx-v3vh
* 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
2023-06-14 10:49:52 -07:00
aidanchiu1112 820e2e074c
Merge pull request from GHSA-pqr6-cmr2-h8hf
* 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
2023-06-14 10:36:02 -07:00
aidanchiu1112 27e2ce0fb0
Fix typo (#457)
* Fix typo

* Fix spacing with comment
2023-06-06 11:58:45 -07:00
xerial-bot f32d5b0d7c
Update sbt to 1.9.0 (#455)
* Update sbt to 1.9.0

* Run CI on sbt upgrade

---------

Co-authored-by: Taro L. Saito <leo@xerial.org>
2023-06-02 15:19:00 -07:00
xerial-bot 326f0b45ee
Update scalafmt-core to 3.7.4 (#454) 2023-06-02 10:46:56 -07:00