Skip to content
Success

Changes

Summary

  1. s1ap_proxy: cosmetic: fix wrong arity in comment (details)
  2. s1ap_proxy: fix IEI path leak in handle_ies/4 (details)
Commit 29e94aa596e95ccfe4c08a77380f612ef3186855 by Vadim Yanitskiy
s1ap_proxy: cosmetic: fix wrong arity in comment

Change-Id: Idfe81c8905a61a23f2a44057ddcf17184e75b85f
The file was modifiedsrc/s1ap_proxy.erl
Commit 301d2fd61c899b91a3289678d36c7ac82423d9c2 by Vadim Yanitskiy
s1ap_proxy: fix IEI path leak in handle_ies/4

Function handle_ies/3 prepends a new item to the IEI path and calls
function handle_ies/4.  The later was expected to remove that item
from the IEI path upon returning the new #proxy_state.

This was done correctly in the successful scenario, however the
error case was overlooked in 00f51fe.  As a result of this, whenever
handle_ie/3 returns an error, the IEI path is not properly cleaned
and stale IEIs remain in the #proxy_state.

Fix this by removing the head IEI in the same place where we push it.

Change-Id: I64629a215c05e8d577a8943ae872945d61b5107c
Fixes: 00f51fe ("s1ap_proxy: handle_ies(): pass IEI path to handle_ie()")
Related: SYS#7288
The file was modifiedsrc/s1ap_proxy.erl