diff options
author | Nickolai Zeldovich <nickolai@csail.mit.edu> | 2013-01-07 01:33:15 -0500 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2013-01-07 01:35:13 -0500 |
commit | 5e3bf4ac6cb02601c5f10c5b2804fd5028c80119 (patch) | |
tree | a1c88ecac87ae6261ce7f6dda355622ddfac2117 /src/lib | |
parent | c5e826e6071bc1ba5208f4ea6997d1952114e27a (diff) | |
download | krb5-5e3bf4ac6cb02601c5f10c5b2804fd5028c80119.tar.gz krb5-5e3bf4ac6cb02601c5f10c5b2804fd5028c80119.tar.xz krb5-5e3bf4ac6cb02601c5f10c5b2804fd5028c80119.zip |
Fix initial call to svcraw_create
gssrpc raw services could not work because svcraw_create did not set
svcraw_private after allocating memory for it.
[ghudson@mit.edu: commit message, patch splitting]
ticket: 7534
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/rpc/svc_raw.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/rpc/svc_raw.c b/src/lib/rpc/svc_raw.c index 83e547475e..ef5f3d3d7b 100644 --- a/src/lib/rpc/svc_raw.c +++ b/src/lib/rpc/svc_raw.c @@ -80,6 +80,7 @@ svcraw_create(void) srp = (struct svcraw_private *)calloc(1, sizeof (*srp)); if (srp == 0) return (0); + svcraw_private = srp; } srp->server.xp_sock = 0; srp->server.xp_port = 0; |