Skip to content

fix: CHF panics with nil pointer dereference#72

Merged
Alonza0314 merged 1 commit into
free5gc:mainfrom
solar224:CHF-panics-with-nil-pointer-dereference-on-/nchf-convergedcharging/v3/chargingdata
Apr 23, 2026
Merged

fix: CHF panics with nil pointer dereference#72
Alonza0314 merged 1 commit into
free5gc:mainfrom
solar224:CHF-panics-with-nil-pointer-dereference-on-/nchf-convergedcharging/v3/chargingdata

Conversation

@solar224

Copy link
Copy Markdown
Contributor

This Issue fixes free5gc/free5gc#1023.

  • This update further hardens CULock handling by applying defer unlock immediately after lock acquisition, ensuring the lock is always released even if a panic occurs or the function returns early, and preventing persistent deadlock/DoS for the same SUPI.

@roundspring2003

Copy link
Copy Markdown
Contributor

@Alonza0314 LGTM

@Alonza0314 Alonza0314 merged commit 9efd52b into free5gc:main Apr 23, 2026
3 checks passed
@solar224 solar224 deleted the CHF-panics-with-nil-pointer-dereference-on-/nchf-convergedcharging/v3/chargingdata branch April 23, 2026 05:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants