# HG changeset patch # User Franz Glasner # Date 1585406922 -3600 # Node ID 4538aa70440b22dd3663f719b9a76d319fd0af86 # Parent c7cf16351c81c6f4f1bb9fd70e979b8761ffce3c Apply patch for incorrerct string length check for 'ssh'. commit 8c8af9ec857810ce439b300965f031a766bc4299 diff -r c7cf16351c81 -r 4538aa70440b files/patch-src_apps_common_ns__turn__utils.c --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/files/patch-src_apps_common_ns__turn__utils.c Sat Mar 28 15:48:42 2020 +0100 @@ -0,0 +1,11 @@ +--- src/apps/common/ns_turn_utils.c.orig 2019-03-02 21:06:19 UTC ++++ src/apps/common/ns_turn_utils.c +@@ -556,7 +556,7 @@ int get_default_protocol_port(const char* scheme, size + return 21; + if(!memcmp("svn",scheme,3)) + return 3690; +- if(!memcmp("ssh",scheme,4)) ++ if(!memcmp("ssh",scheme,3)) + return 22; + if(!memcmp("sip",scheme,3)) + return 5060;