open5gs/lib/ipfw
Sukchan Lee 1c32777659 pfcp/ipfw: Improve error handling in PDR creation/update and ipfw rule parsing
- Added null-check for flow description direction token in ogs_ipfw_compile_rule()
  to prevent dereferencing a NULL pointer.
- Replaced assertions with graceful error handling in Create/Update PDR handlers:
  * Log failure when ogs_ipfw_compile_rule() returns error.
  * Free allocated flow_description and remove the faulty PDR rule, then continue.
- Improved logging for invalid pdi.network_instance:
  * Print length and include a hexdump of the invalid field.

Issues: #4151
2025-11-20 16:39:17 +09:00
..
objs/include_e [Alpine] Add Dockerfile and Document 2021-04-30 22:13:04 +09:00
dummynet.c clang scan-build static analysis findings/resolutions (#3387) 2024-08-16 16:42:12 +09:00
expand_number.c Initial proposal CUPS using PFCP 2020-04-26 15:36:05 -04:00
glue.c test: Porting FreeBSD 2021-02-08 14:25:40 -05:00
glue.h [Alpine] remove GLIBC macro (#957) 2021-04-30 22:16:07 +09:00
humanize_number.c Initial proposal CUPS using PFCP 2020-04-26 15:36:05 -04:00
ipfw2.c [ipfw2] override errx() to prevent exit on error (#3840) 2025-05-09 16:47:42 +09:00
ipfw2.h [IPFilter] Assert if getprotobyname() problem (#977) 2021-05-07 10:47:10 +09:00
ipv6.c [ipfw] Fix memory leak when parsing ipv6 2023-09-27 20:35:33 +09:00
meson.build [NRF] Fixed library load error 2022-08-26 10:57:11 +09:00
missing.h Initial proposal CUPS using PFCP 2020-04-26 15:36:05 -04:00
ogs-ipfw.c pfcp/ipfw: Improve error handling in PDR creation/update and ipfw rule parsing 2025-11-20 16:39:17 +09:00
ogs-ipfw.h [SMF] Added Bi-Directional Flow (#2909) 2024-02-17 20:43:15 +01:00
tables.c clang scan-build static analysis findings/resolutions (#3387) 2024-08-16 16:42:12 +09:00