xserver/hw
Peter Hutterer 96af794dc6 xfree86: up the path name size to 512 in xf86MatchDriverFromFiles
./hw/xfree86/common/xf86pciBus.c: In function ‘xf86MatchDriverFromFiles’:
../hw/xfree86/common/xf86pciBus.c:1330:52: warning: ‘snprintf’ output may be
truncated before the last format character [-Wformat-truncation=]
             snprintf(path_name, sizeof(path_name), "%s/%s", ^~~~~~~
../hw/xfree86/common/xf86pciBus.c:1330:13: note: ‘snprintf’ output between 2

dirent->d_name is 256, so sprintf("%s/%s") into a 256 buffer gives us:

and 257 bytes into a destination of size 256

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2017-05-29 13:52:55 +10:00
..
dmx dmx: Fix decl mismatch for XRT_WINDOW 2017-05-03 15:44:04 -04:00
kdrive xephyr: Fix regeneration 2017-05-11 14:13:12 -04:00
vfb Add a Meson build system alongside autotools. 2017-04-26 15:25:27 -07:00
xfree86 xfree86: up the path name size to 512 in xf86MatchDriverFromFiles 2017-05-29 13:52:55 +10:00
xnest Add a Meson build system alongside autotools. 2017-04-26 15:25:27 -07:00
xquartz Add a Meson build system alongside autotools. 2017-04-26 15:25:27 -07:00
xwayland xwayland: Unconditionally initialize lists in init_tablet_manager_seat() 2017-05-05 08:50:45 +10:00
xwin hw/xwin: Fix -Wunused-function warning for MessageName() in non-debug builds 2017-05-15 17:46:37 -04:00
Makefile.am Xwayland DDX 2014-04-03 15:19:22 -07:00
meson.build Add a Meson build system alongside autotools. 2017-04-26 15:25:27 -07:00