You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As per the documentation, local IDs are optional and not used by the library. However, PHG hypergraph partitioning crashes on this line when not using local IDs, apparently assuming bad allocation and failing to consider that ZOLTAN_MALLOC_LID_ARRAY returns NULL if Num_LID is zero.
Steps to Reproduce
Compile Zoltan, the bug seems to be present on both master and dev branches.
Run the C example simplePHG with NUM_LID_ENTRIES set to 0 on line 168.
Enjoy the memory error.
The text was updated successfully, but these errors were encountered:
Bug Report
@egboman
Description
As per the documentation, local IDs are optional and not used by the library. However, PHG hypergraph partitioning crashes on this line when not using local IDs, apparently assuming bad allocation and failing to consider that
ZOLTAN_MALLOC_LID_ARRAY
returnsNULL
ifNum_LID
is zero.Steps to Reproduce
simplePHG
withNUM_LID_ENTRIES
set to 0 on line 168.The text was updated successfully, but these errors were encountered: