xserver/hw/xfree86
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
..
common xfree86: up the path name size to 512 in xf86MatchDriverFromFiles 2017-05-29 13:52:55 +10:00
ddc Add a Meson build system alongside autotools. 2017-04-26 15:25:27 -07:00
dixmods meson: Use link_whole() not link_with(), for the Xorg dixmods. 2017-05-09 10:52:26 -07:00
doc xfree86: Remove driver entity hooks and private 2017-03-30 11:32:02 -04:00
dri meson: Make driprotos and libdrm optional 2017-05-10 14:43:13 -04:00
dri2 meson: Make driprotos and libdrm optional 2017-05-10 14:43:13 -04:00
drivers modesetting: Drop code for GLAMOR && !GLAMOR_HAS_GBM. 2017-05-18 11:33:05 -04:00
exa Add a Meson build system alongside autotools. 2017-04-26 15:25:27 -07:00
fbdevhw meson: Fix typoed filename 2017-05-04 10:28:18 -04:00
glamor_egl Add a Meson build system alongside autotools. 2017-04-26 15:25:27 -07:00
i2c Add a Meson build system alongside autotools. 2017-04-26 15:25:27 -07:00
int10 Add a Meson build system alongside autotools. 2017-04-26 15:25:27 -07:00
loader xfree86: build a shared lib identical to Xorg 2017-05-15 09:14:42 -07:00
man xfree86: Remove 24bpp pixmap format support (v2) 2017-03-17 15:14:38 -04:00
modes Add a Meson build system alongside autotools. 2017-04-26 15:25:27 -07:00
os-support os, xfree86: Stop being so weird about <limits.h> 2017-05-12 09:49:07 -04:00
parser os, xfree86: Stop being so weird about <limits.h> 2017-05-12 09:49:07 -04:00
ramdac Add a Meson build system alongside autotools. 2017-04-26 15:25:27 -07:00
shadowfb meson: Build libshadowfb.so 2017-04-27 15:19:44 -04:00
utils xfree86: small memory leaks fixes 2016-09-28 14:53:39 -04:00
vbe meson: Build libvbe.so 2017-04-27 15:19:45 -04:00
vgahw meson: Build libvgahw.so 2017-04-27 15:19:41 -04:00
x86emu Add a Meson build system alongside autotools. 2017-04-26 15:25:27 -07:00
.gitignore Xorg: Add Xorg.wrap to hw/xfree86/.gitignore 2014-04-18 11:39:16 +02:00
Makefile.am vidmode: move to a separate library of its own 2016-02-29 16:29:01 -05:00
Xorg.sh.in xfree86: rename Xorg.bin to Xorg 2015-01-05 09:53:58 +10:00
meson.build xfree86: build a shared lib identical to Xorg 2017-05-15 09:14:42 -07:00
sdksyms.sh Use #ifdef instead of #if for features to make Meson easier. 2017-04-26 17:30:12 -04:00
xorg-wrapper.c xfree86: Xorg.wrap: Do not require root rights for cards with 0 outputs 2016-10-26 12:40:23 -04:00
xorgconf.cpp xfree86: fix wrong DontZap documentation (#71113) 2014-05-24 20:02:56 +10:00