This is an automated email from the git hooks/post-receive script.
rharwood pushed a change to branch master in repository gssproxy.
from ba27dee Always check if we have a remote credential new fbf882e Fix asprintf(3) call in ensure_segregated_ccache()
The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: proxy/src/gp_creds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
This is an automated email from the git hooks/post-receive script.
rharwood pushed a commit to branch master in repository gssproxy.
commit fbf882e770474a60022d93c009f277a2d2674e42 Author: Robbie Harwood rharwood@redhat.com Date: Mon Feb 27 14:44:06 2017 -0500
Fix asprintf(3) call in ensure_segregated_ccache()
Signed-off-by: Robbie Harwood rharwood@redhat.com Reviewed-by: Simo Sorce simo@redhat.com PR: #53 --- proxy/src/gp_creds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/proxy/src/gp_creds.c b/proxy/src/gp_creds.c index 0e5532f..db5b4b2 100644 --- a/proxy/src/gp_creds.c +++ b/proxy/src/gp_creds.c @@ -276,7 +276,7 @@ static int ensure_segregated_ccache(struct gp_call_ctx *gpcall, } while (tid == -1 && errno == EINTR);
ret = asprintf(&buf, "MEMORY:internal_%d", tid); - if (!buf) { + if (ret == -1) { return ENOMEM; }
gss-proxy@lists.fedorahosted.org