guacamole-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Dinse <nan...@eskimo.com>
Subject Compile Error
Date Sun, 24 Feb 2019 10:48:26 GMT

      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.
Mime
  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message