diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2012-05-29 17:35:23 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-05-29 11:45:05 -0400 |
commit | b481712148b36362e09d7611be1f36be6b962ca0 (patch) | |
tree | 5f260995dc6698780d53b7ac092b57c730819bb8 /src/sss_client | |
parent | 8126906ab783494204dc853c814b0882d2a76523 (diff) | |
download | sssd-b481712148b36362e09d7611be1f36be6b962ca0.tar.gz sssd-b481712148b36362e09d7611be1f36be6b962ca0.tar.bz2 sssd-b481712148b36362e09d7611be1f36be6b962ca0.zip |
Revert the client packet length, too, after reverting the packet protocol
Diffstat (limited to 'src/sss_client')
-rw-r--r-- | src/sss_client/nss_services.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sss_client/nss_services.c b/src/sss_client/nss_services.c index 159583d7..5f98d8dc 100644 --- a/src/sss_client/nss_services.c +++ b/src/sss_client/nss_services.c @@ -286,7 +286,7 @@ _nss_sss_getservbyport_r(int port, const char *protocol, } } - rd.len = sizeof(uint16_t)*2 + proto_len + 1; + rd.len = sizeof(uint32_t)*2 + proto_len + 1; data = malloc(sizeof(uint8_t)*rd.len); if (data == NULL) { nret = NSS_STATUS_TRYAGAIN; |