Skip to content
Snippets Groups Projects
  • Moe Jette's avatar
    302f67a0
    From: Mark A. Grondona <mgrondona@llnl.gov> · 302f67a0
    Moe Jette authored
    Certain SPANK items that are available in local or allocator context
    may not be available until after cmdline options have been processed,
    or after a job has been allocated. Return ESPANK_NOT_AVAIL to indicate
    to plugins that this is the case.
    
    This patch fixes a potential segfault if SPANK plugins call spank_get_item
    for these items from early callbacks such as spank_init.
    302f67a0
    History
    From: Mark A. Grondona <mgrondona@llnl.gov>
    Moe Jette authored
    Certain SPANK items that are available in local or allocator context
    may not be available until after cmdline options have been processed,
    or after a job has been allocated. Return ESPANK_NOT_AVAIL to indicate
    to plugins that this is the case.
    
    This patch fixes a potential segfault if SPANK plugins call spank_get_item
    for these items from early callbacks such as spank_init.