Skip to content

Guard against crash when sk_CRYPTO_BUFFER_new_null() returns NULL - #1007

Merged
normanmaurer merged 1 commit into
mainfrom
return_early
Aug 31, 2026
Merged

normanmaurer merged 1 commit into
mainfrom
return_early

Conversation

@normanmaurer

Copy link
Copy Markdown
Member

Motivation:

When out of memory sk_CRYPTO_BUFFER_new_null() will return NULL, so we should better guard against it as otherwise we might crash

Modifications:

Check for NULL and handle it

Result:

More robust code even when out of memory

Motivation:

When out of memory sk_CRYPTO_BUFFER_new_null() will return NULL, so we should better guard against it as otherwise we might crash

Modifications:

Check for NULL and handle it

Result:

More robust code even when out of memory
@normanmaurer normanmaurer added this to the 2.0.84.Final milestone Aug 31, 2026
@normanmaurer
normanmaurer merged commit 0c5069f into main Aug 31, 2026
17 checks passed
@normanmaurer
normanmaurer deleted the return_early branch August 31, 2026 14:20
dongjoon-hyun added a commit to apache/spark that referenced this pull request Sep 12, 2026
### What changes were proposed in this pull request?

This PR aims to upgrade `netty-tcnative` to 2.0.84.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.84.Final (2026-09-07)
  - netty/netty-tcnative#1003
  - netty/netty-tcnative#1004
  - netty/netty-tcnative#1006
  - netty/netty-tcnative#1007

### 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 5

Closes #58720 from dongjoon-hyun/SPARK-59424.

Authored-by: Dongjoon Hyun <dongjoon@apache.org>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
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.

1 participant