Skip to content

Commit d9712cf

Browse files
authored
Merge pull request #5251 from garlick/unwrap_fail
libjob: return on error in unwrap_string()
2 parents ae12fac + e3dc55a commit d9712cf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/common/libjob/unwrap.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ char *unwrap_string (const char *s,
8080
errprintf (errp,
8181
"failed to create security context: %s",
8282
strerror (errno));
83+
return NULL;
8384
}
8485
if (flux_security_configure (sec, NULL) < 0) {
8586
errprintf (errp,

0 commit comments

Comments
 (0)