Commit 211c224b authored by Morris Jette's avatar Morris Jette
Browse files

Reservation with CoreCnt: Avoid possible invalid memory reference.

If reservation create request included a CoreCnt value and more
nodes are required than configured, the logic in select/cons_res
could go off the end of the core_cnt array. This patch adds a
check for a zero value in the core_cnt array, which terminates
the user-specified array.
parent bd1c05f1
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment