Files
openairinterface5g/openair2/COMMON
Cedric Roux 3674a6f0f2 bugfix: initialize all variables of the 'context' thing
There was a problem in rrc_gNB_process_NGAP_PDUSESSION_RELEASE_COMMAND()
where we PROTOCOL_CTXT_SET_BY_INSTANCE() that does not initialize
eNB_index leading to a crash later on in pdcp. So let's initialize
everything.

Plus, while we're here, use do { } while(0) in the macros, just to avoid
problems like:

  if (condition)
    macro;

Without do { } while(0) only the first statement of the macro is done
in the if. (Not sure if the code has the problem somewhere, but doesn't
hurt to fix.)
2023-01-17 13:19:30 +01:00
..
2021-09-23 12:53:38 -07:00
2022-04-19 18:37:14 +02:00
2022-04-19 18:37:14 +02:00
2019-01-07 16:22:28 +01:00
2021-10-24 14:47:24 +02:00
2022-11-30 14:30:18 +01:00
2019-01-07 16:22:28 +01:00
2020-09-28 06:03:39 +00:00
2022-01-13 16:04:16 +01:00
2019-01-07 16:22:28 +01:00
2022-04-19 18:37:14 +02:00
2019-01-07 16:22:28 +01:00
2019-01-07 16:22:28 +01:00
2019-01-07 16:22:28 +01:00
2019-01-07 16:22:28 +01:00
2019-01-07 16:22:28 +01:00
2019-01-07 16:22:28 +01:00
2019-01-07 16:22:28 +01:00
2019-01-07 16:22:28 +01:00
2019-01-07 16:22:28 +01:00
2022-04-19 18:37:14 +02:00