Changes of Revision 453

commit_87b4e4535c77ded627cdb6f4e4e2e3ea761f40b7.txt Added
commit_b57722178a8ac508ec6ed508f86dcefd868d2afe.txt Deleted
open5gs_2.7.1.7.b577.dsc -> open5gs_2.7.1.8.87b4.dsc Changed
x
 
1
@@ -2,7 +2,7 @@
2
 Source: open5gs
3
 Binary: open5gs-common, open5gs-mme, open5gs-sgwc, open5gs-smf, open5gs-amf, open5gs-sgwu, open5gs-upf, open5gs-hss, open5gs-pcrf, open5gs-nrf, open5gs-scp, open5gs-sepp, open5gs-ausf, open5gs-udm, open5gs-pcf, open5gs-nssf, open5gs-bsf, open5gs-udr, open5gs, open5gs-dbg
4
 Architecture: any
5
-Version: 2.7.1.7.b577
6
+Version: 2.7.1.8.87b4
7
 Maintainer: Harald Welte <laforge@gnumonks.org>
8
 Uploaders: Sukchan Lee <acetcom@gmail.com>
9
 Homepage: https://open5gs.org
10
@@ -32,8 +32,8 @@
11
  open5gs-udr deb net optional arch=any
12
  open5gs-upf deb net optional arch=any
13
 Checksums-Sha1:
14
- 5b1ab53b15274c9f2f0d975dbbd09d463c7c89c3 14492600 open5gs_2.7.1.7.b577.tar.xz
15
+ cc02dcdcfc8c5c2d3fe8330db199ddabdb0907e9 14493308 open5gs_2.7.1.8.87b4.tar.xz
16
 Checksums-Sha256:
17
- 15062ce03c6f694037ee8f52049fc6034fc32d65652b8a162b7177661ede48f9 14492600 open5gs_2.7.1.7.b577.tar.xz
18
+ 60ee6b34b55114c63a62798978eafb6ea2e40a3909ca2b567ed30b3984839f18 14493308 open5gs_2.7.1.8.87b4.tar.xz
19
 Files:
20
- cd35ad0af38147741fc87c237f9ceabc 14492600 open5gs_2.7.1.7.b577.tar.xz
21
+ fcf9f8daef6b7d54fb2e734e66baf1b8 14493308 open5gs_2.7.1.8.87b4.tar.xz
22
open5gs_2.7.1.7.b577.tar.xz/.tarball-version -> open5gs_2.7.1.8.87b4.tar.xz/.tarball-version Changed
4
 
1
@@ -1 +1 @@
2
-2.7.1.7-b577
3
+2.7.1.8-87b4
4
open5gs_2.7.1.7.b577.tar.xz/debian/changelog -> open5gs_2.7.1.8.87b4.tar.xz/debian/changelog Changed
12
 
1
@@ -1,8 +1,8 @@
2
-open5gs (2.7.1.7.b577) unstable; urgency=medium
3
+open5gs (2.7.1.8.87b4) unstable; urgency=medium
4
 
5
   * Automatically generated changelog entry for building the Osmocom master feed
6
 
7
- -- Osmocom OBS scripts <info@osmocom.org>  Wed, 01 May 2024 07:36:02 +0000
8
+ -- Osmocom OBS scripts <info@osmocom.org>  Wed, 01 May 2024 08:13:42 +0000
9
 
10
 open5gs (2.7.1) unstable; urgency=medium
11
 
12
open5gs_2.7.1.7.b577.tar.xz/src/pcf/npcf-handler.c -> open5gs_2.7.1.8.87b4.tar.xz/src/pcf/npcf-handler.c Changed
101
 
1
@@ -752,6 +752,15 @@
2
         if (MediaComponentMap) {
3
             MediaComponent = MediaComponentMap->value;
4
             if (MediaComponent) {
5
+                if (ims_data.num_of_media_component >=
6
+                        OGS_ARRAY_SIZE(ims_data.media_component)) {
7
+                    ogs_error("OVERFLOW ims_data.num_of_media_component "
8
+                            "%d:%d:%d",
9
+                            ims_data.num_of_media_component,
10
+                            OGS_MAX_NUM_OF_MEDIA_COMPONENT,
11
+                            (int)OGS_ARRAY_SIZE(ims_data.media_component));
12
+                    break;
13
+                }
14
                 media_component = &ims_data.
15
                     media_componentims_data.num_of_media_component;
16
                 media_component->media_component_number =
17
@@ -779,6 +788,15 @@
18
 
19
                 SubComponentList = MediaComponent->med_sub_comps;
20
                 OpenAPI_list_for_each(SubComponentList, node2) {
21
+                    if (media_component->num_of_sub >=
22
+                            OGS_ARRAY_SIZE(media_component->sub)) {
23
+                        ogs_error("OVERFLOW media_component->num_of_sub "
24
+                                "%d:%d:%d",
25
+                                media_component->num_of_sub,
26
+                                OGS_MAX_NUM_OF_MEDIA_SUB_COMPONENT,
27
+                                (int)OGS_ARRAY_SIZE(media_component->sub));
28
+                        break;
29
+                    }
30
                     sub = &media_component->submedia_component->num_of_sub;
31
 
32
                     SubComponentMap = node2->data;
33
@@ -792,8 +810,15 @@
34
                             OpenAPI_list_for_each(fDescList, node3) {
35
                                 ogs_flow_t *flow = NULL;
36
 
37
-                                ogs_assert(sub->num_of_flow <
38
-                                    OGS_MAX_NUM_OF_FLOW_IN_MEDIA_SUB_COMPONENT);
39
+                                if (sub->num_of_flow >=
40
+                                        OGS_ARRAY_SIZE(sub->flow)) {
41
+                                    ogs_error(
42
+                                        "OVERFLOW sub->num_of_flow %d:%d:%d",
43
+                                        sub->num_of_flow,
44
+                                        OGS_MAX_NUM_OF_FLOW_IN_MEDIA_SUB_COMPONENT,
45
+                                        (int)OGS_ARRAY_SIZE(sub->flow));
46
+                                    break;
47
+                                }
48
                                 flow = &sub->flowsub->num_of_flow;
49
                                 if (node3->data) {
50
                                     flow->description = ogs_strdup(node3->data);
51
@@ -1200,6 +1225,15 @@
52
         if (MediaComponentMap) {
53
             MediaComponent = MediaComponentMap->value;
54
             if (MediaComponent) {
55
+                if (ims_data.num_of_media_component >=
56
+                        OGS_ARRAY_SIZE(ims_data.media_component)) {
57
+                    ogs_error("OVERFLOW ims_data.num_of_media_component "
58
+                            "%d:%d:%d",
59
+                            ims_data.num_of_media_component,
60
+                            OGS_MAX_NUM_OF_MEDIA_COMPONENT,
61
+                            (int)OGS_ARRAY_SIZE(ims_data.media_component));
62
+                    break;
63
+                }
64
                 media_component = &ims_data.
65
                     media_componentims_data.num_of_media_component;
66
 
67
@@ -1228,6 +1262,15 @@
68
 
69
                 SubComponentList = MediaComponent->med_sub_comps;
70
                 OpenAPI_list_for_each(SubComponentList, node2) {
71
+                    if (media_component->num_of_sub >=
72
+                            OGS_ARRAY_SIZE(media_component->sub)) {
73
+                        ogs_error("OVERFLOW media_component->num_of_sub "
74
+                                "%d:%d:%d",
75
+                                media_component->num_of_sub,
76
+                                OGS_MAX_NUM_OF_MEDIA_SUB_COMPONENT,
77
+                                (int)OGS_ARRAY_SIZE(media_component->sub));
78
+                        break;
79
+                    }
80
                     sub = &media_component->submedia_component->num_of_sub;
81
 
82
                     SubComponentMap = node2->data;
83
@@ -1241,8 +1284,15 @@
84
                             OpenAPI_list_for_each(fDescList, node3) {
85
                                 ogs_flow_t *flow = NULL;
86
 
87
-                                ogs_assert(sub->num_of_flow <
88
-                                    OGS_MAX_NUM_OF_FLOW_IN_MEDIA_SUB_COMPONENT);
89
+                                if (sub->num_of_flow >=
90
+                                        OGS_ARRAY_SIZE(sub->flow)) {
91
+                                    ogs_error(
92
+                                        "OVERFLOW sub->num_of_flow %d:%d:%d",
93
+                                        sub->num_of_flow,
94
+                                        OGS_MAX_NUM_OF_FLOW_IN_MEDIA_SUB_COMPONENT,
95
+                                        (int)OGS_ARRAY_SIZE(sub->flow));
96
+                                    break;
97
+                                }
98
                                 flow = &sub->flowsub->num_of_flow;
99
                                 if (node3->data) {
100
                                     flow->description = ogs_strdup(node3->data);
101
open5gs_2.7.1.7.b577.tar.xz/src/pcrf/pcrf-rx-path.c -> open5gs_2.7.1.8.87b4.tar.xz/src/pcrf/pcrf-rx-path.c Changed
51
 
1
@@ -229,6 +229,16 @@
2
             break;
3
         /* Gwt Media-Component-Description */
4
         case OGS_DIAM_RX_AVP_CODE_MEDIA_COMPONENT_DESCRIPTION:
5
+            if (rx_message.ims_data.num_of_media_component >=
6
+                    OGS_ARRAY_SIZE(rx_message.ims_data.media_component)) {
7
+                ogs_error("OVERFLOW rx_message.ims_data.num_of_media_component "
8
+                        "%d:%d:%d",
9
+                        rx_message.ims_data.num_of_media_component,
10
+                        OGS_MAX_NUM_OF_MEDIA_COMPONENT,
11
+                        (int)OGS_ARRAY_SIZE(
12
+                            rx_message.ims_data.media_component));
13
+                break;
14
+            }
15
             media_component = &rx_message.ims_data.
16
                     media_componentrx_message.ims_data.num_of_media_component;
17
 
18
@@ -271,6 +281,15 @@
19
                     media_component->flow_status = hdr->avp_value->i32;
20
                     break;
21
                 case OGS_DIAM_RX_AVP_CODE_MEDIA_SUB_COMPONENT:
22
+                    if (media_component->num_of_sub >=
23
+                            OGS_ARRAY_SIZE(media_component->sub)) {
24
+                        ogs_error("OVERFLOW media_component->num_of_sub "
25
+                                "%d:%d:%d",
26
+                                media_component->num_of_sub,
27
+                                OGS_MAX_NUM_OF_MEDIA_SUB_COMPONENT,
28
+                                (int)OGS_ARRAY_SIZE(media_component->sub));
29
+                        break;
30
+                    }
31
                     sub = &media_component->submedia_component->num_of_sub;
32
 
33
                     ret = fd_msg_browse(avpch2, MSG_BRW_FIRST_CHILD,
34
@@ -300,8 +319,14 @@
35
                             }
36
                             break;
37
                         case OGS_DIAM_RX_AVP_CODE_FLOW_DESCRIPTION:
38
-                            ogs_assert(sub->num_of_flow <
39
-                                    OGS_MAX_NUM_OF_FLOW_IN_MEDIA_SUB_COMPONENT);
40
+                            if (sub->num_of_flow >= OGS_ARRAY_SIZE(sub->flow)) {
41
+                                ogs_error(
42
+                                    "OVERFLOW sub->num_of_flow %d:%d:%d",
43
+                                    sub->num_of_flow,
44
+                                    OGS_MAX_NUM_OF_FLOW_IN_MEDIA_SUB_COMPONENT,
45
+                                    (int)OGS_ARRAY_SIZE(sub->flow));
46
+                                break;
47
+                            }
48
                             flow = &sub->flowsub->num_of_flow;
49
                             flow->description = ogs_strndup(
50
                                     (char*)hdr->avp_value->os.data,
51