Skip to content
  • Robert Schmidt's avatar
    Fix: repair RC.mac memory allocation · 52afb00f
    Robert Schmidt authored
    * do not test NULL on un-initialized memory
    * there can be a race between the FlexRAN agent reading the RC.mac and its
      allocation in main.c
    * in order to circumvent this, change the allocation by allocating
      everything "into" a local variable
    * if RC.mac is already allocated, reinitialize it without re-allocating memory
    * move UE_list init code into dedicated function
    52afb00f