Print this page
NEX-5260 smbd segfaults while running smbtorture:rpc.lsa.lookupnames
NEX-5261 smbd segfaults while running smbtorture:rpc.winreg
NEX-5262 smbd segfaults while running smbtorture:rpc.samba3
Reviewed by: Evan Layton <evan.layton@nexenta.com>
Reviewed by: Matt Barden <matt.barden@nexenta.com>
SMB-39 Use AF_UNIX pipes for RPC
@@ -19,11 +19,11 @@
* CDDL HEADER END
*/
/*
* Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
- * Copyright 2013 Nexenta Systems, Inc. All rights reserved.
+ * Copyright 2016 Nexenta Systems, Inc. All rights reserved.
*/
/*
* Server Service RPC (SRVSVC) server-side interface definition.
* The server service provides a remote administration interface.
@@ -1000,15 +1000,15 @@
case 1501:
info1501 = &info->nsg_info1501;
status = srvsvc_share_getsd(mxa, &si, &sd);
if (status == ERROR_SUCCESS) {
- info503->shi503_reserved = sd.sd_size;
- info503->shi503_security_descriptor = sd.sd_buf;
+ info1501->shi1501_reserved = sd.sd_size;
+ info1501->shi1501_security_descriptor = sd.sd_buf;
} else {
- info503->shi503_reserved = 0;
- info503->shi503_security_descriptor = NULL;
+ info1501->shi1501_reserved = 0;
+ info1501->shi1501_security_descriptor = NULL;
}
param->result.ru.info1501 = info1501;
break;