pnnl/lamellar-runtime

CmdMsg Hash Function Integer Overflow

wwshayn opened this issue · 0 comments

The hash function for the CmdMsg struct in lamellae/command_queues.rs has the potential for integer overflow which causes a panic when compiled under the dev profile. If wrapping is intended I would recommend using .wrapping_add() instead of +