Uploaded image for project: 'CIFX Driver for Linux'
  1. CIFX Driver for Linux
  2. NXDRVLINUX-108

Memory leak for pci_buf in OS_ReadPCIConfig() if pci_device_cfg_read() fails

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: V2.1.0.0
    • Component/s: Linux Driver
    • Labels:
      None
    • Account:
      SDO Driver (SDODRIVER)

      Description

      If the function pci_device_cfg_read() in OS_ReadPCIConfig() fails, pci_buf is set to NULL without a call to free(pci_buf). This leads into a possible memory leak in this case.

        Attachments

          Expenses

            Activity

              Status Description

                People

                • Reporter:
                  RMay Robert M [X] (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: