open5gs/src/smf
Pau Espin b3ac5b35eb
[SMF] Fix potential null pointer dereference (#1324)
* [SMF] Fix potential null pointer dereference

Pointer "sess" was first dereferenced and later on checked for nullness.
This is clearly wrong. Rearrange the code path to make sure the check is
done first, then dereferenced.

* gitignore: Add subprojects/libtins

* cosmetic: Fix whitespace
2022-01-18 11:23:40 +09:00
..
app.c Initial proposal CUPS using PFCP 2020-04-26 15:36:05 -04:00
binding.c [SMF] change log-level from WARN to ERR (#1313) 2022-01-12 20:06:26 +09:00
binding.h VoNR added but not tested! 2021-11-14 21:07:56 +09:00
context.c [SMF] Fix potential null pointer dereference (#1324) 2022-01-18 11:23:40 +09:00
context.h [SMF] fix the crash during IMS calls (#1238) 2021-11-23 14:19:30 +09:00
event.c Change Number of UEs usage [#533] 2020-08-25 23:05:01 -04:00
event.h feat: Add dedicated QoS flow 2020-12-31 21:07:08 -05:00
fd-path.c [EPC] Support ePDG Interface (#1039) 2021-06-21 22:36:38 +09:00
fd-path.h [EPC] Support ePDG Interface (#1039) 2021-06-21 22:36:38 +09:00
gsm-build.c VoNR added but not tested! 2021-11-14 21:07:56 +09:00
gsm-build.h VoNR added but not tested! 2021-11-14 21:07:56 +09:00
gsm-handler.c VoNR added but not tested! 2021-11-14 21:07:56 +09:00
gsm-handler.h VoNR added but not tested! 2021-11-14 21:07:56 +09:00
gsm-sm.c [PCRF] fix the crash in flow->description (#1313) 2022-01-12 10:15:36 +09:00
gtp-path.c [SMF] Fix potential null pointer dereference (#1324) 2022-01-18 11:23:40 +09:00
gtp-path.h [EPC] Support ePDG Interface (#1039) 2021-06-21 22:36:38 +09:00
gx-handler.c VoNR added but not tested! 2021-11-14 21:07:56 +09:00
gx-handler.h Initial proposal CUPS using PFCP 2020-04-26 15:36:05 -04:00
gx-path.c Update Supported-Feature AVP (#1202) 2021-10-16 17:41:53 +09:00
init.c [ALL] Fix the terminate sequence (#938) 2021-04-21 17:46:03 +09:00
meson.build [SMF] Fix potential null pointer dereference (#1324) 2022-01-18 11:23:40 +09:00
n4-build.c VoNR added but not tested! 2021-11-14 21:07:56 +09:00
n4-build.h feat: Add dedicated QoS flow 2020-12-31 21:07:08 -05:00
n4-handler.c [SMF] fix the crash during IMS calls (#1238) 2021-11-23 14:19:30 +09:00
n4-handler.h 5gc: Paging was added 2021-01-18 11:48:35 -05:00
namf-build.c VoNR added but not tested! 2021-11-14 21:07:56 +09:00
namf-build.h VoNR added but not tested! 2021-11-14 21:07:56 +09:00
namf-handler.c VoNR added but not tested! 2021-11-14 21:07:56 +09:00
namf-handler.h VoNR added but not tested! 2021-11-14 21:07:56 +09:00
nas-path.c Use HTTP/2 instead of HTTP/1.1 in 5G Core SBI 2020-11-26 21:44:37 -05:00
nas-path.h Use HTTP/2 instead of HTTP/1.1 in 5G Core SBI 2020-11-26 21:44:37 -05:00
nf-sm.c Add more memory log 2021-06-06 22:35:46 +09:00
ngap-build.c VoNR added but not tested! 2021-11-14 21:07:56 +09:00
ngap-build.h VoNR added but not tested! 2021-11-14 21:07:56 +09:00
ngap-handler.c [5GC] Service Request Race Condition(#1226) 2021-11-28 20:54:51 +09:00
ngap-handler.h [5GC] Service Request Race Condition(#1226) 2021-11-28 20:54:51 +09:00
ngap-path.c [ALL] Add protection of message encoding (#991) 2021-05-16 12:22:10 +09:00
ngap-path.h Use HTTP/2 instead of HTTP/1.1 in 5G Core SBI 2020-11-26 21:44:37 -05:00
nnrf-build.c Add more memory log 2021-06-06 22:35:46 +09:00
nnrf-build.h arch: DB schema Changes (#796) 2021-03-08 21:25:09 +09:00
nnrf-handler.c SBI updated 2021-07-16 17:02:33 +09:00
nnrf-handler.h fix: update NRF issues (#727,#728,#729,#730) 2020-12-24 15:41:31 -05:00
npcf-build.c SBI updated 2021-07-16 17:02:33 +09:00
npcf-build.h [5GC] Added BSF(Binding Support Function) 2021-05-29 15:56:12 +09:00
npcf-handler.c VoNR added but not tested! 2021-11-14 21:07:56 +09:00
npcf-handler.h VoNR added but not tested! 2021-11-14 21:07:56 +09:00
nsmf-handler.c [SMF] Exception handling in session release(#1155) 2021-09-04 16:14:18 +09:00
nsmf-handler.h Use HTTP/2 instead of HTTP/1.1 in 5G Core SBI 2020-11-26 21:44:37 -05:00
nudm-build.c arch: DB schema Changes (#796) 2021-03-08 21:25:09 +09:00
nudm-build.h Add only one 5GC scenario (call-flow) 2020-06-17 01:22:28 -04:00
nudm-handler.c [SMF/UPF] Clarify FALLBACK SUBNET [#1128] 2021-08-14 16:52:53 +09:00
nudm-handler.h Use HTTP/2 instead of HTTP/1.1 in 5G Core SBI 2020-11-26 21:44:37 -05:00
pfcp-path.c [SMF] fix the crash during IMS calls (#1238) 2021-11-23 14:19:30 +09:00
pfcp-path.h [SMF] fix the crash during IMS calls (#1238) 2021-11-23 14:19:30 +09:00
pfcp-sm.c Add more memory log 2021-06-06 22:35:46 +09:00
s5c-build.c VoNR added but not tested! 2021-11-14 21:07:56 +09:00
s5c-build.h VoNR added but not tested! 2021-11-14 21:07:56 +09:00
s5c-handler.c [SMF] Fix potential null pointer dereference (#1324) 2022-01-18 11:23:40 +09:00
s5c-handler.h [EPC] Support ePDG Interface (#1039) 2021-06-21 22:36:38 +09:00
s6b-path.c [EPC] Support ePDG Interface (#1039) 2021-06-21 22:36:38 +09:00
sbi-path.c VoNR added but not tested! 2021-11-14 21:07:56 +09:00
sbi-path.h Add more memory log 2021-06-06 22:35:46 +09:00
smf-sm.c VoNR added but not tested! 2021-11-14 21:07:56 +09:00
smf-sm.h fix: amf crash bug (#793) 2021-02-03 23:49:16 -05:00
timer.c fix: Add the exception handling (#804) 2021-02-15 12:17:33 -05:00
timer.h fix the 5GC test program 2020-07-29 23:26:12 -04:00