Skip to content

fix NPE in LZ4FrameInputStream#available#40

Merged
yawkat merged 1 commit intoyawkat:mainfrom
dldnhf:fix-npe
Jan 21, 2026
Merged

fix NPE in LZ4FrameInputStream#available#40
yawkat merged 1 commit intoyawkat:mainfrom
dldnhf:fix-npe

Conversation

@dldnhf
Copy link

@dldnhf dldnhf commented Jan 21, 2026

Closes #39

@yawkat yawkat merged commit af57e23 into yawkat:main Jan 21, 2026
1 check passed
@yawkat
Copy link
Owner

yawkat commented Jan 21, 2026

Thanks!

@github-actions
Copy link

🚀 Preview deployed to https://931aea0d.lz4-java-yawk-at.pages.dev

dongjoon-hyun pushed a commit to apache/spark that referenced this pull request Jan 26, 2026
### What changes were proposed in this pull request?
This pr aims to upgrade lz4-java from 1.10.1 to 1.10.3

### Why are the changes needed?
The new version has fixed an NPE  issue related to `LZ4FrameInputStream`:
- yawkat/lz4-java#40

Full release notes as follows:
- https://github.com/yawkat/lz4-java/releases/tag/v1.10.2
- https://github.com/yawkat/lz4-java/releases/tag/v1.10.3

### Does this PR introduce _any_ user-facing change?
No

### How was this patch tested?
Pass Github Actions

### Was this patch authored or co-authored using generative AI tooling?
No

Closes #53971 from LuciferYang/SPARK-55189.

Authored-by: yangjie01 <yangjie01@baidu.com>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
mergify bot added a commit to ArcadeData/arcadedb that referenced this pull request Jan 28, 2026
Bumps [at.yawk.lz4:lz4-java](https://github.com/yawkat/lz4-java) from 1.10.2 to 1.10.3.
Release notes

*Sourced from [at.yawk.lz4:lz4-java's releases](https://github.com/yawkat/lz4-java/releases).*

> lz4-java v1.10.3
> ----------------
>
> What's Changed
> --------------
>
> * github-pages documentation by [`@​yawkat`](https://github.com/yawkat) in [yawkat/lz4-java#32](https://redirect.github.com/yawkat/lz4-java/pull/32)
> * Improve README formatting by [`@​Marcono1234`](https://github.com/Marcono1234) in [yawkat/lz4-java#37](https://redirect.github.com/yawkat/lz4-java/pull/37)
> * fix NPE in LZ4FrameInputStream#available by [`@​dldnhf`](https://github.com/dldnhf) in [yawkat/lz4-java#40](https://redirect.github.com/yawkat/lz4-java/pull/40)
>
> New Contributors
> ----------------
>
> * [`@​dldnhf`](https://github.com/dldnhf) made their first contribution in [yawkat/lz4-java#40](https://redirect.github.com/yawkat/lz4-java/pull/40)
>
> **Full Changelog**: <yawkat/lz4-java@v1.10.2...v1.10.3>


Commits

* [`af57e23`](yawkat/lz4-java@af57e23) fix NPE in available() ([#40](https://redirect.github.com/yawkat/lz4-java/issues/40))
* [`384ade4`](yawkat/lz4-java@384ade4) Improve README formatting ([#37](https://redirect.github.com/yawkat/lz4-java/issues/37))
* [`b8af362`](yawkat/lz4-java@b8af362) github-pages documentation ([#32](https://redirect.github.com/yawkat/lz4-java/issues/32))
* See full diff in [compare view](yawkat/lz4-java@v1.10.2...v1.10.3)
  
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility\_score?dependency-name=at.yawk.lz4:lz4-java&package-manager=maven&previous-version=1.10.2&new-version=1.10.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
  
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show  ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NPE in LZ4FrameInputStream#available

2 participants