Fixed NULL checks for strnlen calls, limit static channel name length.
authorArmin Novak <armin.novak@thincast.com>
Thu, 7 Nov 2019 06:41:48 +0000 (07:41 +0100)
committerArmin Novak <armin.novak@thincast.com>
Thu, 7 Nov 2019 09:53:55 +0000 (10:53 +0100)
commit153639624b54f3a77214bf0a4ff39a3e35fc00bd
tree1f49a3f3299712ab257e5c2fd30d1ed860d65261
parent72ca88f49c1b7f6678a66c09fa5fe5506623ed35
Fixed NULL checks for strnlen calls, limit static channel name length.

As reported by @metametaclass in #5687 check the strings for NULL before
using strnlen. Also extend the same checks to static channel loading.
channels/client/addin.c
libfreerdp/common/addin.c