commit | ef6205ba00f3197803c05265d9abd1c64c24507d | [log] [tgz] |
---|---|---|
author | Philipp Maier <pmaier@sysmocom.de> | Fri Oct 02 17:35:25 2020 +0200 |
committer | Philipp Maier <pmaier@sysmocom.de> | Fri Oct 02 17:38:12 2020 +0200 |
tree | 2736c4d6f1ec4053e65ea269e08c9e2b598a046f | |
parent | 86336af2a3240b7414b2993d4ee58b0f4e671f9f [diff] |
gprs_sndcp: fix use after free When compression is turned on, an extra buffer "expnd" is allocated in the context of msg. This means that when msg is freed, expnd is freed as well and there is no need for freein it explcicitly, which, when it is done after freeng msg, causes talloc to abort. Change-Id: I8959b75e241ffabf9fa34c4cf014721584372b26