Pulled the source from github and attempted to compile on Ubuntu 18.10 but got the following error:

guac_svc/svc_service.c: In function ‘VirtualChannelEntry’:
guac_svc/svc_service.c:56:5: error: ‘strncpy’ output may be truncated copying 7 bytes from a string of length 7 [-Werror=stringop-truncation]
     strncpy(svc_plugin->plugin.channel_def.name, svc->name,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
             GUAC_RDP_SVC_MAX_LENGTH);
             ~~~~~~~~~~~~~~~~~~~~~~~~

     Any suggestions as to how to fix?  Normally an error like this would
not stop a compile but directives are given that cause all warnings to be treated as errors so this stops the compile.

-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
 Eskimo North Linux Friendly Internet Access, Shell Accounts, and Hosting.
   Knowledgeable human assistance, not telephone trees or script readers.
 See our web site: http://www.eskimo.com/ (206) 812-0051 or (800) 246-6874.

Reply via email to