• Morris Jette's avatar
    Reservation with CoreCnt: Avoid possible invalid memory reference · e0541f93
    Morris Jette authored
    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.
    Back-port from master of commit 211c224b
    e0541f93
To find the state of this project's repository at the time of any of these versions, check out the tags.