core/listener: Prevent buffer overflow found by covscan
authorOndrej Holy <oholy@redhat.com>
Fri, 17 Aug 2018 14:14:53 +0000 (16:14 +0200)
committerOndrej Holy <oholy@redhat.com>
Wed, 22 Aug 2018 12:34:02 +0000 (14:34 +0200)
commit8f8d91e361cfb982b934b32f871cb1d43a14e530
tree309ba8e51cc728b58a0b17203a2862809807f208
parent23c3c188c9cb44e05ab054009f1469401aa6a227
core/listener: Prevent buffer overflow found by covscan

buffer_size_warning: Calling strncpy with a maximum size argument of 108 bytes on destination array "addr.sun_path" of size 108 bytes might leave the destination string unterminated.
libfreerdp/core/listener.c