Changes of Revision 492

commit_919176a9ab9b8a95c5908b69758f3fcfebf58652.txt Deleted
commit_98285096680f5e368f8fb6fd45f168037bf8ce3b.txt Added
open5gs_2.7.1.71.9191.dsc -> open5gs_2.7.1.74.98285.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.71.9191
6
+Version: 2.7.1.74.98285
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
- 3932706b4f6e68b00ab1b22f103e0e4e1f65713d 14496976 open5gs_2.7.1.71.9191.tar.xz
15
+ 0cfa3fc4ae27e3d2dee5689d5c52cde0a68aeaa9 14497588 open5gs_2.7.1.74.98285.tar.xz
16
 Checksums-Sha256:
17
- 7ac60413587cea71015b5c26abc8ed8ef57103159eaa2204c029c70db2cd1bae 14496976 open5gs_2.7.1.71.9191.tar.xz
18
+ 02e263eefcf3daa65332b510fbd7c9c6fca52219d8e6e0455cb9db17383bff6b 14497588 open5gs_2.7.1.74.98285.tar.xz
19
 Files:
20
- c511a0adbd577da8fe06dad4be52f5ed 14496976 open5gs_2.7.1.71.9191.tar.xz
21
+ a7072d1fa777ef8e2b8c3c698fdd4d49 14497588 open5gs_2.7.1.74.98285.tar.xz
22
open5gs_2.7.1.71.9191.tar.xz/.tarball-version -> open5gs_2.7.1.74.98285.tar.xz/.tarball-version Changed
4
 
1
@@ -1 +1 @@
2
-2.7.1.71-9191
3
+2.7.1.74-98285
4
open5gs_2.7.1.71.9191.tar.xz/debian/changelog -> open5gs_2.7.1.74.98285.tar.xz/debian/changelog Changed
12
 
1
@@ -1,8 +1,8 @@
2
-open5gs (2.7.1.71.9191) unstable; urgency=medium
3
+open5gs (2.7.1.74.98285) unstable; urgency=medium
4
 
5
   * Automatically generated changelog entry for building the Osmocom master feed
6
 
7
- -- Osmocom OBS scripts <info@osmocom.org>  Thu, 25 Jul 2024 14:32:47 +0000
8
+ -- Osmocom OBS scripts <info@osmocom.org>  Thu, 25 Jul 2024 15:09:32 +0000
9
 
10
 open5gs (2.7.1) unstable; urgency=medium
11
 
12
open5gs_2.7.1.71.9191.tar.xz/src/pcrf/pcrf-gx-path.c -> open5gs_2.7.1.74.98285.tar.xz/src/pcrf/pcrf-gx-path.c Changed
22
 
1
@@ -731,7 +731,7 @@
2
     ret = fd_sess_state_retrieve(pcrf_gx_reg, session, &sess_data);
3
     ogs_assert(ret == 0);
4
     if (sess_data == NULL) {
5
-        ogs_error("No session data");
6
+        ogs_error("No Session Data");
7
         ret = fd_msg_free(req);
8
         ogs_assert(ret == 0);
9
         rx_message->result_code = OGS_DIAM_UNKNOWN_SESSION_ID;
10
@@ -1061,7 +1061,10 @@
11
 
12
     ret = fd_sess_state_retrieve(pcrf_gx_reg, session, &sess_data);
13
     ogs_assert(ret == 0);
14
-    ogs_assert(sess_data);
15
+    if (!sess_data) {
16
+        ogs_error("No Session Data");
17
+        return;
18
+    }
19
     ogs_assert((void *)sess_data == data);
20
 
21
     /* Value of Result Code */
22
open5gs_2.7.1.71.9191.tar.xz/src/pcrf/pcrf-rx-path.c -> open5gs_2.7.1.74.98285.tar.xz/src/pcrf/pcrf-rx-path.c Changed
16
 
1
@@ -493,7 +493,13 @@
2
 
3
     /* Retrieve session state in this session */
4
     ret = fd_sess_state_retrieve(pcrf_rx_reg, session, &sess_data);
5
-    ogs_assert(sess_data);
6
+    ogs_assert(ret == 0);
7
+    if (!sess_data) {
8
+        ogs_error("No Session Data");
9
+        ret = fd_msg_free(req);
10
+        ogs_assert(ret == 0);
11
+        return OGS_ERROR;
12
+    }
13
 
14
     /* Update State */
15
     sess_data->state = SESSION_ABORTED;
16
open5gs_2.7.1.71.9191.tar.xz/src/smf/gx-path.c -> open5gs_2.7.1.74.98285.tar.xz/src/smf/gx-path.c Changed
13
 
1
@@ -745,7 +745,10 @@
2
 
3
     ret = fd_sess_state_retrieve(smf_gx_reg, session, &sess_data);
4
     ogs_assert(ret == 0);
5
-    ogs_assert(sess_data);
6
+    if (!sess_data) {
7
+        ogs_error("No Session Data");
8
+        return;
9
+    }
10
     ogs_assert((void *)sess_data == data);
11
 
12
     ogs_debug("    Retrieve its data: %s", sess_data->gx_sid);
13
open5gs_2.7.1.71.9191.tar.xz/src/smf/gy-path.c -> open5gs_2.7.1.74.98285.tar.xz/src/smf/gy-path.c Changed
13
 
1
@@ -991,7 +991,10 @@
2
 
3
     ret = fd_sess_state_retrieve(smf_gy_reg, session, &sess_data);
4
     ogs_assert(ret == 0);
5
-    ogs_assert(sess_data);
6
+    if (!sess_data) {
7
+        ogs_error("No Session Data");
8
+        return;
9
+    }
10
     ogs_assert((void *)sess_data == data);
11
 
12
     ogs_debug("    Retrieve its data: %s", sess_data->gy_sid);
13
open5gs_2.7.1.71.9191.tar.xz/src/smf/s5c-handler.c -> open5gs_2.7.1.74.98285.tar.xz/src/smf/s5c-handler.c Changed
10
 
1
@@ -1281,7 +1281,7 @@
2
             sess->sgw_s5c_teid, sess->smf_n4_teid);
3
 
4
     decoded = ogs_gtp2_parse_tft(&tft, &cmd->traffic_aggregate_description);
5
-    if (cmd->traffic_aggregate_description.len == decoded) {
6
+    if (cmd->traffic_aggregate_description.len != decoded) {
7
         ogs_error("ogs_gtp2_parse_tft() failed");
8
         ogs_log_hexdump(OGS_LOG_ERROR,
9
             cmd->traffic_aggregate_description.data,
10
open5gs_2.7.1.71.9191.tar.xz/src/smf/s6b-path.c -> open5gs_2.7.1.74.98285.tar.xz/src/smf/s6b-path.c Changed
37
 
1
@@ -368,7 +368,10 @@
2
 
3
     ret = fd_sess_state_retrieve(smf_s6b_reg, session, &sess_data);
4
     ogs_assert(ret == 0);
5
-    ogs_assert(sess_data);
6
+    if (!sess_data) {
7
+        ogs_error("No Session Data");
8
+        return;
9
+    }
10
     ogs_assert((void *)sess_data == data);
11
 
12
     ogs_debug("    Retrieve its data: %s", sess_data->s6b_sid);
13
@@ -553,7 +556,10 @@
14
     /* Retrieve session state in this session */
15
     ret = fd_sess_state_retrieve(smf_s6b_reg, session, &sess_data);
16
     ogs_assert(ret == 0);
17
-    ogs_assert(sess_data);
18
+    if (!sess_data) {
19
+        ogs_error("No Session Data");
20
+        return;
21
+    }
22
     ogs_debug("    Retrieve session: %s", sess_data->s6b_sid);
23
 
24
     /* Update session state */
25
@@ -661,7 +667,10 @@
26
 
27
     ret = fd_sess_state_retrieve(smf_s6b_reg, session, &sess_data);
28
     ogs_assert(ret == 0);
29
-    ogs_assert(sess_data);
30
+    if (!sess_data) {
31
+        ogs_error("No Session Data");
32
+        return;
33
+    }
34
     ogs_assert((void *)sess_data == data);
35
 
36
     ogs_debug("    Retrieve its data: %s", sess_data->s6b_sid);
37
open5gs_2.7.1.71.9191.tar.xz/tests/volte/diameter-rx-path.c -> open5gs_2.7.1.74.98285.tar.xz/tests/volte/diameter-rx-path.c Changed
50
 
1
@@ -1678,7 +1678,10 @@
2
     
3
     ret = fd_sess_state_retrieve(pcscf_rx_reg, session, &sess_data);
4
     ogs_assert(ret == 0);
5
-    ogs_assert(sess_data);
6
+    if (!sess_data) {
7
+        ogs_error("No Session Data");
8
+        return;
9
+    }
10
     ogs_assert((void *)sess_data == data);
11
 
12
     /* Value of Result Code */
13
@@ -1807,7 +1810,10 @@
14
 
15
     ret = fd_sess_state_retrieve(pcscf_rx_reg, sess, &sess_data);
16
     ogs_assert(ret == 0);
17
-    ogs_assert(sess_data);
18
+    if (!sess_data) {
19
+        ogs_error("No Session Data");
20
+        return EINVAL;
21
+    }
22
 
23
     /* Create answer header */
24
     qry = *msg;
25
@@ -1910,7 +1916,10 @@
26
     /* Retrieve session state in this session */
27
     ret = fd_sess_state_retrieve(pcscf_rx_reg, session, &sess_data);
28
     ogs_assert(ret == 0);
29
-    ogs_assert(sess_data);
30
+    if (!sess_data) {
31
+        ogs_error("No Session Data");
32
+        return;
33
+    }
34
     
35
     /* Set Origin-Host & Origin-Realm */
36
     ret = fd_msg_add_origin(req, 0);
37
@@ -1997,7 +2006,11 @@
38
     
39
     ret = fd_sess_state_retrieve(pcscf_rx_reg, session, &sess_data);
40
     ogs_assert(ret == 0);
41
-    ogs_assert(sess_data && (void *)sess_data == data);
42
+    if (!sess_data) {
43
+        ogs_error("No Session Data");
44
+        return;
45
+    }
46
+    ogs_assert((void *)sess_data == data);
47
 
48
     /* Value of Result Code */
49
     ret = fd_msg_search_avp(*msg, ogs_diam_result_code, &avp);
50