[MERGED] libosmocore[master]: memleak: _gsmtap_raw_output(): free msg in case of vsnprintf...

2018-02-17 Thread Neels Hofmeyr
Neels Hofmeyr has submitted this change and it was merged. Change subject: memleak: _gsmtap_raw_output(): free msg in case of vsnprintf failure .. memleak: _gsmtap_raw_output(): free msg in case of vsnprintf failure Don't

libosmocore[master]: memleak: _gsmtap_raw_output(): free msg in case of vsnprintf...

2018-02-16 Thread Harald Welte
Patch Set 1: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/6515 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I51431ae7baca33ce5bab085cc3efe25f1a10b6d1 Gerrit-PatchSet: 1 Gerrit-Project: libosmocore Gerrit-Branch: master

libosmocore[master]: memleak: _gsmtap_raw_output(): free msg in case of vsnprintf...

2018-02-15 Thread Vadim Yanitskiy
Patch Set 1: Code-Review+1 -- To view, visit https://gerrit.osmocom.org/6515 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I51431ae7baca33ce5bab085cc3efe25f1a10b6d1 Gerrit-PatchSet: 1 Gerrit-Project: libosmocore Gerrit-Branch: master

[PATCH] libosmocore[master]: memleak: _gsmtap_raw_output(): free msg in case of vsnprintf...

2018-02-15 Thread Neels Hofmeyr
Review at https://gerrit.osmocom.org/6515 memleak: _gsmtap_raw_output(): free msg in case of vsnprintf failure Don't just return, free the allocated msg first. Change-Id: I51431ae7baca33ce5bab085cc3efe25f1a10b6d1 --- M src/logging_gsmtap.c 1 file changed, 3 insertions(+), 1 deletion(-)