[DPDK/other Bug 2110] graph: cluster_add() loses the array when realloc fails

bugzilla at dpdk.org bugzilla at dpdk.org
Thu Nov 12 18:37:38 CET 2026


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: dev at dpdk.org
          Reporter: stephen at networkplumber.org
  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.


More information about the dev mailing list