[Mesa-dev] [Bug 110833] [bisected][regression] Android build test failing on matrix.c (-Wformat-security 'format string is not a string literal' error)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jun 3 22:07:25 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=110833

            Bug ID: 110833
           Summary: [bisected][regression] Android build test failing on
                    matrix.c (-Wformat-security 'format string is not a
                    string literal' error)
           Product: Mesa
           Version: git
          Hardware: Other
                OS: All
            Status: NEW
          Keywords: bisected, regression
          Severity: normal
          Priority: medium
         Component: Mesa core
          Assignee: pierre-eric.pelloux-prayer at amd.com
          Reporter: clayton.a.craft at intel.com
        QA Contact: mesa-dev at lists.freedesktop.org

vendor/intel/external/project-celadon/mesa/src/mesa/main/matrix.c:97:38: error:
format string is not a string literal (potentially insecure)
[-Werror,-Wformat-security]
   _mesa_error(ctx, GL_INVALID_ENUM, caller);
                                     ^~~~~~
vendor/intel/external/project-celadon/mesa/src/mesa/main/matrix.c:97:38: note:
treat the string as an argument to avoid this
   _mesa_error(ctx, GL_INVALID_ENUM, caller);
                                     ^
                                     "%s", 
vendor/intel/external/project-celadon/mesa/src/mesa/main/matrix.c:114:42:
error: format string is not a string literal (potentially insecure)
[-Werror,-Wformat-security]
      _mesa_error(ctx, GL_INVALID_VALUE, caller);
                                         ^~~~~~
vendor/intel/external/project-celadon/mesa/src/mesa/main/matrix.c:114:42: note:
treat the string as an argument to avoid this
      _mesa_error(ctx, GL_INVALID_VALUE, caller);
                                         ^
                                         "%s", 
vendor/intel/external/project-celadon/mesa/src/mesa/main/matrix.c:195:44:
error: format string is not a string literal (potentially insecure)
[-Werror,-Wformat-security]
      _mesa_error( ctx,  GL_INVALID_VALUE, caller );
                                           ^~~~~~
vendor/intel/external/project-celadon/mesa/src/mesa/main/matrix.c:195:44: note:
treat the string as an argument to avoid this
      _mesa_error( ctx,  GL_INVALID_VALUE, caller );
                                           ^
                                           "%s", 



Bisected to:

commit d2906293c432b1b0519612caed0c50f43044966a
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date:   Tue May 7 11:20:51 2019 +0200

    mesa: EXT_dsa add selectorless matrix stack functions

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190603/c59805d4/attachment.html>


More information about the mesa-dev mailing list