mesa/src
Kai Wasserbäch b2313ef4a8 intel: tools: Fix aubinator_error's fprintf call (format-security)
The recent commit 4616639b49 introduced
the new function aubinator_error() which is a trivial wrapper around
fprintf() to STDERR. The call to fprintf() however is passed the message
msg directly:
  fprintf(stderr, msg);

This is a format-security violation and leads to an FTBFS with
-Werror=format-security (GCC 8):
  ../../../src/intel/tools/aubinator.c: In function 'aubinator_error':
  ../../../src/intel/tools/aubinator.c:74:4: error: format not a string literal and no format arguments [-Werror=format-security]
      fprintf(stderr, msg);
      ^~~~~~~

This patch fixes this trivially by introducing a catch-all "%s" format
argument.

Fixes: 4616639b49 ("intel: tools: split aub parsing from aubinator")
Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Signed-off-by: Kai Wasserbäch <kai@dev.carbon-project.org>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
2018-08-25 16:52:12 +01:00
..
amd Revert "configure: allow building with python3" 2018-08-24 11:14:15 +01:00
broadcom Revert "configure: allow building with python3" 2018-08-24 11:14:15 +01:00
compiler Revert "configure: allow building with python3" 2018-08-24 11:14:15 +01:00
egl egl/drm: use gbm_dri_bo() wrapper 2018-08-24 11:53:24 +01:00
gallium gallium: Split out PIPE_CAP_TEXTURE_MIRROR_CLAMP_TO_EDGE. 2018-08-24 17:25:36 -07:00
gbm gbm: Add support for 10bpp BGR formats 2018-08-01 12:55:37 +01:00
getopt
glx glx: GLX_MESA_multithread_makecurrent is direct-only 2018-08-09 12:33:14 -04:00
gtest autotools: include meson build files in tarball 2018-01-19 16:30:51 -08:00
hgl meson: Add Haiku platform support v4 2018-02-16 16:56:34 -06:00
intel intel: tools: Fix aubinator_error's fprintf call (format-security) 2018-08-25 16:52:12 +01:00
loader loader: add dri_driver option to override dri driver to load 2018-08-17 17:16:32 +01:00
mapi Revert "configure: allow building with python3" 2018-08-24 11:14:15 +01:00
mesa gallium: Split out PIPE_CAP_TEXTURE_MIRROR_CLAMP_TO_EDGE. 2018-08-24 17:25:36 -07:00
util Revert "configure: allow building with python3" 2018-08-24 11:14:15 +01:00
vulkan Revert "configure: allow building with python3" 2018-08-24 11:14:15 +01:00
Makefile.am Revert "configure: allow building with python3" 2018-08-24 11:14:15 +01:00
meson.build meson: Build with Python 3 2018-08-10 15:15:09 -07:00
SConscript buildsys: move file regeneration logic to the script itself 2017-10-27 13:38:37 +01:00