]> mj.ucw.cz Git - pciutils.git/commit
libpci: i386-io-windows.h: Fix error handling for GetProcessImageFileNameW() and...
authorPali Rohár <pali@kernel.org>
Sun, 10 Apr 2022 11:58:38 +0000 (13:58 +0200)
committerMartin Mareš <mj@ucw.cz>
Fri, 15 Apr 2022 21:57:52 +0000 (23:57 +0200)
commitd0b3d60f84fff7ab9ce99691fcf0db65b416e9ae
treef84dbd15cb50055bf089b5e7ef74356450ff42f2
parent49b93c5dd9f8ae21533cb0418850a70c12721bf3
libpci: i386-io-windows.h: Fix error handling for GetProcessImageFileNameW() and GetModuleFileNameExW()

These functions may require buffer which is larger than MAX_PATH (wide)
characters and their error handling is more complicated. Fix it.
lib/i386-io-windows.h