Skip to content
Snippets Groups Projects
Commit 1f96f213 authored by Morris Jette's avatar Morris Jette
Browse files

Avoid possible overflow on multiply

Coverity CID 53127
parent 020defef
No related branches found
No related tags found
No related merge requests found
......@@ -2443,8 +2443,8 @@ static int _parse_bb_opts(struct job_descriptor *job_desc, uint64_t *bb_size,
char *bb_script, *save_ptr = NULL;
char *bb_name = NULL, *bb_pool, *capacity;
char *end_ptr = NULL, *sub_tok, *tok;
uint64_t tmp_cnt;
int rc = SLURM_SUCCESS, swap_cnt = 0;
uint64_t tmp_cnt, swap_cnt = 0;
int rc = SLURM_SUCCESS;
bool enable_persist = false, have_bb = false, have_stage_out = false;
xassert(bb_size);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment