]> git.ipfire.org Git - thirdparty/pciutils.git/commit
lspci: Fix handling of truncated lines for msvcrt.dll
authorPali Rohár <pali@kernel.org>
Sun, 27 Feb 2022 23:06:00 +0000 (00:06 +0100)
committerPali Rohár <pali@kernel.org>
Fri, 15 Apr 2022 22:01:13 +0000 (00:01 +0200)
commit7eb8b9473317562e0b66bd3e8c467e127d88dac8
tree8bf6751403297c30db60e2bdde37ea01fdc79a74
parentd0b3d60f84fff7ab9ce99691fcf0db65b416e9ae
lspci: Fix handling of truncated lines for msvcrt.dll

msvcrt.dll's vsnprintf() implementation does not fill terminating null byte
when overflow occurs and buffer size is returned.
ls-tree.c