GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fix memory leak in setSessionTicketKeys0 when GetByteArrayElements fails by normanmaurer · Pull Request #957 · netty/netty-tcnative

Conversation

@normanmaurer

@normanmaurer normanmaurer commented Mar 18, 2026

Copy link
Copy Markdown
Member

Motivation:

We leaked native memory when GetByteArrayElements failed.

Modifications:

Ensure we release the native memory before early return

Result:

No more memory leak

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@normanmaurer
Fix memory leak in setSessionTicketKeys0 when GetByteArrayElements fails
040e5ad
Motivation:

We leaked native memory when GetByteArrayElements failed.

Modifications:

Ensure we release the native memory before early return

Result:

No more memory leak
@normanmaurer normanmaurer added this to the 2.0.76.Final milestone Mar 18, 2026
@normanmaurer
normanmaurer requested review from chrisvest March 18, 2026 19:02
@normanmaurer
normanmaurer merged commit 6711659 into main Mar 19, 2026
10 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@normanmaurer
normanmaurer deleted the mem_leak branch March 19, 2026 09:38
@dongjoon-hyun dongjoon-hyun mentioned this pull request Apr 22, 2026
[SPARK-56580][BUILD] Upgrade netty-tcnative to 2.0.76.Final apache/spark#55489
Closed
dongjoon-hyun added a commit to apache/spark that referenced this pull request Apr 23, 2026
@dongjoon-hyun
[SPARK-56580][BUILD] Upgrade netty-tcnative to 2.0.76.Final
2e732fb
### What changes were proposed in this pull request?

This PR aims to upgrade `netty-tcnative` to 2.0.76.Final.

### Why are the changes needed?

To bring the latest bug fixes:
- https://github.com/netty/netty-tcnative/releases/tag/netty-tcnative-parent-2.0.76.Final
  - netty/netty-tcnative#952
  - netty/netty-tcnative#957
  - netty/netty-tcnative#959

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

No.

### How was this patch tested?

Pass the CIs.

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

Generated-by: Claude Opus 4.7

Closes #55489 from dongjoon-hyun/SPARK-56580.

Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
@lhotari lhotari mentioned this pull request May 5, 2026
[fix][sec] Upgrade Netty to 4.1.133.Final to address CVEs apache/pulsar#25670
Merged
2 of 11 tasks
@normanmaurer normanmaurer mentioned this pull request Oct 30, 2026
jni util 0.0.12 #1039
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@chrisvest chrisvest Awaiting requested review from chrisvest

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

2.0.76.Final

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@normanmaurer
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.