Commit bf2f57c9 authored by Moe Jette's avatar Moe Jette
Browse files

select/cray: more carefully test for NULL job pointer

This audits the select/cray code so that it does not accidentally dereference a NULL job_ptr.
This instance happens once, upon restart of slurmctld (detailed description below). 
Similar checks are also in place in other select plugins, in any case it is better to check this.
Almost all cases use xassert(), the only exception is p_job_fini(), which assumes NULL means
there is nothing to be finalized.
parent 7d15aa3d
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