xserver/hw/xfree86/common
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
..
.gitignore
Makefile.am xfree86: Improved autoconfig drivers matching 2017-05-09 17:36:05 -07:00
compiler.h Replace all checks for 'linux' macro with '__linux__' 2017-05-11 15:24:05 -04:00
dgaproc.h
extramodes
fourcc.h
meson.build xfree86: Improved autoconfig drivers matching 2017-05-09 17:36:05 -07:00
modeline2c.awk
vesamodes
xaarop.h
xf86.h Use #ifdef instead of #if for features to make Meson easier. 2017-04-26 17:30:12 -04:00
xf86AutoConfig.c xfree86: Improved autoconfig drivers matching 2017-05-09 17:36:05 -07:00
xf86Build.h.in
xf86Build.sh Add a Meson build system alongside autotools. 2017-04-26 15:25:27 -07:00
xf86Bus.c xfree86: Remove driver entity hooks and private 2017-03-30 11:32:02 -04:00
xf86Bus.h xfree86: Remove driver entity hooks and private 2017-03-30 11:32:02 -04:00
xf86Config.c xfree86: Hide unused variables when !XSERVER_LIBPCIACCESS 2017-05-15 17:45:14 -04:00
xf86Config.h
xf86Configure.c Replace all checks for 'linux' macro with '__linux__' 2017-05-11 15:24:05 -04:00
xf86Cursor.c
xf86DGA.c
xf86DPMS.c
xf86Events.c xfree86: Remove driver entity hooks and private 2017-03-30 11:32:02 -04:00
xf86Extensions.c
xf86Extensions.h
xf86Globals.c
xf86Helper.c xfree86: Remove driver entity hooks and private 2017-03-30 11:32:02 -04:00
xf86InPriv.h
xf86Init.c Replace all checks for 'linux' macro with '__linux__' 2017-05-11 15:24:05 -04:00
xf86MatchDrivers.h xfree86: Improved autoconfig drivers matching 2017-05-09 17:36:05 -07:00
xf86Mode.c
xf86Module.h
xf86Opt.h
xf86Option.c
xf86Optionstr.h
xf86PM.c xfree86: Remove driver entity hooks and private 2017-03-30 11:32:02 -04:00
xf86PciInfo.h
xf86Priv.h xfree86: Remove driver entity hooks and private 2017-03-30 11:32:02 -04:00
xf86Privstr.h
xf86RandR.c
xf86VGAarbiter.c
xf86VGAarbiter.h
xf86VGAarbiterPriv.h
xf86VidMode.c
xf86Xinput.c xfree86: Silence a new glibc warning 2017-05-03 15:44:06 -04:00
xf86Xinput.h
xf86cmap.c
xf86cmap.h
xf86fbBus.c
xf86fbman.c
xf86fbman.h
xf86noBus.c
xf86pciBus.c xfree86: up the path name size to 512 in xf86MatchDriverFromFiles 2017-05-29 13:52:55 +10:00
xf86pciBus.h xfree86: Improved autoconfig drivers matching 2017-05-09 17:36:05 -07:00
xf86platformBus.c xfree86: Improved autoconfig drivers matching 2017-05-09 17:36:05 -07:00
xf86platformBus.h xfree86: Improved autoconfig drivers matching 2017-05-09 17:36:05 -07:00
xf86sbusBus.c
xf86sbusBus.h
xf86str.h Replace all checks for 'linux' macro with '__linux__' 2017-05-11 15:24:05 -04:00
xf86xv.c
xf86xv.h
xf86xvmc.c
xf86xvmc.h
xf86xvpriv.h
xisb.c
xisb.h
xorgHelper.c
xorgVersion.h