Segmentesion fault in case of 'no-cli'.
GoogleCodeExporter opened this issue · comments
It becomes Segmentation fault when 'no-cli' is enabled.
diff -r -c turnserver-3.2.2.7.orig/src/apps/relay/turncli.c
turnserver-3.2.2.7/src/apps/relay/turncli.c
*** turnserver-3.2.2.7.orig/src/apps/relay/turncli.c 2014-02-14
16:51:45.000000000 +0900
--- turnserver-3.2.2.7/src/apps/relay/turncli.c 2014-02-18 16:18:04.000000000
+0900
***************
*** 1217,1222 ****
--- 1217,1226 ----
int send_turn_session_info(struct turn_session_info* tsi)
{
int ret = -1;
+
+ if (!use_cli) {
+ return ret;
+ }
if(tsi) {
struct evbuffer *output = bufferevent_get_output(cliserver.out_buf);
Original issue reported on code.google.com by mutsutos...@mixi.co.jp
on 18 Feb 2014 at 7:21
Thanks for reporting ! It will be fixed in 3.2.2.8.
Original comment by mom040...@gmail.com
on 18 Feb 2014 at 7:40
- Changed state: Accepted
Original comment by mom040...@gmail.com
on 22 Feb 2014 at 8:32
- Changed state: Fixed