Re: [PATCH] cpukit/libpci: fix potential buffer overflow in pci_cfg_print_code.c

2021-05-26 Thread Vijay Kumar Banerjee
Hi, On Wed, May 26, 2021 at 2:45 PM Joel Sherrill wrote: > > > > On Wed, May 26, 2021 at 1:58 PM Harrison Edward Gerber > wrote: >> >> See also CID 1399721 >> Closes #4442 > > > Blank line between these. > > But otherwise I think this looks good. > I pushed it with the added blank line in the

Re: [PATCH] cpukit/libpci: fix potential buffer overflow in pci_cfg_print_code.c

2021-05-26 Thread Joel Sherrill
On Wed, May 26, 2021 at 1:58 PM Harrison Edward Gerber wrote: > See also CID 1399721 > Closes #4442 > Blank line between these. But otherwise I think this looks good. Gedare... this looks like a good paper on this family of methods for advice on safe programming:

[PATCH] cpukit/libpci: fix potential buffer overflow in pci_cfg_print_code.c

2021-05-26 Thread Harrison Edward Gerber
See also CID 1399721 Closes #4442 --- cpukit/libpci/pci_cfg_print_code.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpukit/libpci/pci_cfg_print_code.c b/cpukit/libpci/pci_cfg_print_code.c index e758fa661a..e0979db74a 100644 --- a/cpukit/libpci/pci_cfg_print_code.c