Skip to content
Snippets Groups Projects
Commit 7fa18c5a authored by Mark Grondona's avatar Mark Grondona
Browse files

o do not assert io header size, just return an error if size is

   not correct.
parent 987882da
No related branches found
No related tags found
No related merge requests found
...@@ -68,7 +68,8 @@ io_hdr_unpack(io_hdr_t *hdr, Buf buffer) ...@@ -68,7 +68,8 @@ io_hdr_unpack(io_hdr_t *hdr, Buf buffer)
safe_unpackmem(hdr->key, &val, buffer); safe_unpackmem(hdr->key, &val, buffer);
xassert(val == SLURM_IO_KEY_SIZE); if (val != SLURM_IO_KEY_SIZE)
goto unpack_error;
safe_unpack32(&hdr->taskid, buffer); safe_unpack32(&hdr->taskid, buffer);
safe_unpack16(&hdr->type, buffer); safe_unpack16(&hdr->type, buffer);
......
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