[Bug 43336] New: propsys: Warning and notes while building (GCC 7.1.1)

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Jul 13 04:51:21 CDT 2017


https://bugs.winehq.org/show_bug.cgi?id=43336

            Bug ID: 43336
           Summary: propsys: Warning and notes while building (GCC 7.1.1)
           Product: Wine
           Version: 2.12
          Hardware: x86-64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: propsys
          Assignee: wine-bugs at winehq.org
          Reporter: andrey.goosev at gmail.com
      Distribution: ---

propvar.c: In function ‘PropVariantChangeType’:
propvar.c:61:23: warning: ‘.’ directive output may be truncated writing 1 byte
into a region of size between 0 and 16 [-Wformat-truncation=]
                       format,
                       ^~~~~~
propvar.c:61:23: note: directive argument in the range [0, 65535]
propvar.c:60:13: note: ‘snprintf’ output between 24 and 42 bytes into a
destination of size 35
             snprintf( ppropvarDest->u.pszVal, sizeof(format),
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                       format,
                       ~~~~~~~
                       time.wYear, time.wMonth, time.wDay,
                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                       time.wHour, time.wMinute, time.wSecond,
                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                       time.wMilliseconds );
                       ~~~~~~~~~~~~~~~~~~~~

wine-2.12-103-g989a9dc917

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list