https://bugs.dpdk.org/show_bug.cgi?id=2110

            Bug ID: 2110
           Summary: graph: cluster_add() loses the array when realloc
                    fails
           Product: DPDK
           Version: 26.11
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: minor
          Priority: Normal
         Component: other
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

lib/graph/graph_stats.c:354 does cluster->graphs = realloc(cluster->graphs,
sz). On failure the old block is leaked and the pointer is NULL.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to