Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

#4442 closed defect (fixed)

CID 1399721: Copy into fixed size buffer

Reported by: Harrison Gerber Owned by: Gedare Bloom
Priority: low Milestone: 6.1
Component: lib Version: 6
Severity: normal Keywords: coverity
Cc: Blocked By:
Blocking:

Description

In pci_cfg_print_device: A source buffer of statically unknown size is copied into a fixed-size destination buffer (CWE-120)

Change History (2)

comment:1 Changed on 05/26/21 at 18:10:12 by Gedare Bloom

Component: adminlib
Keywords: coverity added
Milestone: 6.1
Owner: set to Gedare Bloom
Severity: minornormal
Status: newaccepted

comment:2 Changed on 05/26/21 at 22:45:46 by Harrison Edward Gerber <gerberhe11@…>

Resolution: fixed
Status: acceptedclosed

In [changeset:"e2011dca26b5efcf3ff14527af4be3d43142bd14/rtems" e2011dc/rtems]:

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

See also CID 1399721

Closes #4442

Note: See TracTickets for help on using tickets.