PFCP protocol encoding and decoding, and generic PFCP endpoint implementation This is a mirror of https://gerrit.osmocom.org/libosmo-pfcp https://osmocom.org/projects/libosmo-pfcp
Go to file
Neels Hofmeyr 65c72dbe61 gtlv: fix repeated IEIs to several struct members
Coverity Scan has brought my attention to a problem with decoding
repeated IEIs, where there are multiple struct members in the decoded
struct that these are decoded to.

Before this patch, gtlv aborts with an error as soon as the first struct
member for a given tag is full, not parsing following IEIs into
subsequent struct members.

After this patch, gtlv continues to look whether subsequent entries in
the message coding also decode the same tag, but to a different struct
member.

First commit without changing the gtlv regression test, to show that all
current tests still succeed. The test for this particular issue follow
in I994d0fb1f1435d2c27a8630a43fe106652ac6e41

Related: CID#275415
Related: SYS#5599
Change-Id: Ie37585178ff27306d425b75d8e407b71f92f1cdc
2022-08-24 17:04:42 +02:00
contrib packaging: depend on libosmocore >= 1.7.0 2022-08-22 11:37:07 +02:00
debian Bump version: 0.1.1.1-2904 → 0.1.2 2022-08-24 16:39:11 +02:00
doc doc: minor fix in pfcp_cp_peer_fsm.dot 2022-08-13 00:35:49 +00:00
include gtlv: check memory bounds 3/3: encoding to str 2022-08-24 17:04:42 +02:00
m4 configure: fix AC_CONFIG_MACRO_DIRS related warnings 2022-08-03 03:13:18 +07:00
src gtlv: fix repeated IEIs to several struct members 2022-08-24 17:04:42 +02:00
tests gtlv: check memory bounds 3/3: encoding to str 2022-08-24 17:04:42 +02:00
.gitignore .gitignore fixes: generated sources, .spec file 2022-08-12 04:48:08 +02:00
.gitreview gitreview: fix project 2022-08-19 13:26:21 +00:00
AUTHORS initial osmocom boilerplate source tree 2022-06-16 13:04:33 +02:00
Makefile.am install libosmo-pfcp 2022-06-17 12:09:25 +02:00
README.md README.md: tweak clone URL 2022-08-10 14:30:04 +02:00
TODO-RELEASE initial osmocom boilerplate source tree 2022-06-16 13:04:33 +02:00
configure.ac packaging: depend on libosmocore >= 1.7.0 2022-08-22 11:37:07 +02:00
git-version-gen initial osmocom boilerplate source tree 2022-06-16 13:04:33 +02:00
libosmo-gtlv.pc.in pkgconfig: add missing 'Requires:' 2022-08-23 18:46:25 +02:00
libosmo-pfcp.pc.in pkgconfig: add missing 'Requires:' 2022-08-23 18:46:25 +02:00

README.md

libosmo-pfcp - PFCP protocol encoding and decoding, and generic PFCP endpoint implementation

Homepage

The official homepage of the project is https://osmocom.org/projects/libosmo-pfcp

GIT Repository

You can clone from the official libosmo-pfcp.git repository using

git clone https://gitea.osmocom.org/osmocom/libosmo-pfcp

To submit patches, see "Contributing" below.

Mailing List

Discussions related to libosmo-pfcp are happening on the osmocom-net-gprs@lists.osmocom.org mailing list, please see https://lists.osmocom.org/postorius/lists/osmocom-net-gprs@lists.osmocom.org/ for subscription options and the list archive.

Please observe the Osmocom Mailing List Rules when posting.

Contributing

Our coding standards are described at https://osmocom.org/projects/cellular-infrastructure/wiki/Coding_standards

Submit patches at https://gerrit.osmocom.org/ See also https://osmocom.org/projects/cellular-infrastructure/wiki/Gerrit

The current patch queue for libosmo-pfcp can be seen at https://gerrit.osmocom.org/#/q/project:libosmo-pfcp+status:open