Skip to content

Comments

Do not merge: Fix potential null pointer dereference in virtualhost remap logic#12772

Closed
bneradt wants to merge 5 commits intoapache:masterfrom
bneradt:serris_vc_patch
Closed

Do not merge: Fix potential null pointer dereference in virtualhost remap logic#12772
bneradt wants to merge 5 commits intoapache:masterfrom
bneradt:serris_vc_patch

Conversation

@bneradt
Copy link
Contributor

@bneradt bneradt commented Dec 23, 2025

Do Not Merge

I'm just creating this patch to test whether this fixes the centos CI failure on #12669.


Add null checks before calling m_remap->release() in do_remap_request().
This prevents a segfault when switching between virtualhost and global
remap tables if m_remap is unexpectedly null.

Serris Lew and others added 5 commits December 19, 2025 16:08
Add null checks before calling m_remap->release() in do_remap_request().
This prevents a segfault when switching between virtualhost and global
remap tables if m_remap is unexpectedly null.
@bneradt bneradt changed the title Fix potential null pointer dereference in virtualhost remap logic Do not merge: Fix potential null pointer dereference in virtualhost remap logic Dec 23, 2025
@bneradt
Copy link
Contributor Author

bneradt commented Dec 23, 2025

Still crashes with CentOS.

@bneradt bneradt closed this Dec 23, 2025
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