commit | 77c6e48cb9f9fa69ad23752759415a8438964601 | [log] [tgz] |
---|---|---|
author | Pau Espin Pedrol <pespin@sysmocom.de> | Wed Apr 11 17:48:18 2018 +0200 |
committer | Pau Espin Pedrol <pespin@sysmocom.de> | Wed Apr 11 17:55:38 2018 +0200 |
tree | 5de23b5bedbc206d9b1db910a0fe58bb0cdbefe8 | |
parent | 4d7bab009e5c42bdb5ae418a9cc9bd10b831c383 [diff] |
bsc_nat: ctrl: Fix crash on receveing bsc reply Since libosmocore 7c0031fc8063771e604976233fb7b46d2b85c077, the cmd param passed to handlers in ctrl_handle_msg is always freed afterwards, thus it is owned by the same function. Avoid keeping it alive and accessing it later when it has already been freed. Related: OS#3157 Change-Id: Ib1e1fb79746d4a4f3e30254fdb7a7e851c2cd0e4