search for: ctr502

Displaying 1 result from an estimated 1 matches for "ctr502".

Did you mean: core02
2013 Aug 19
3
rpcclient netshareenum 502 causes SEGV
..._REQ SEC_DESC_SACL_PROTECTED SEC_DESC_RM_CONTROL_VALID SACL Segmentation fault (core dumped) I did a little poking and it seems that the issue is here: source3/rpcclient/cmd_srvsvc.c: 384 case 502: 385 for (i = 0; i < totalentries;i++) 386 display_share_info_502(&info_ctr.ctr.ctr502->array[i]); 387 break; Sorry for the formatting. But the NDR code yanks out 35 SHARE_INFO_502* * entries* *but the array size NDR code calculates only 34. Since "totalentries" is one entry too big, it causes rpcclient to go past the end of the ctr502 array and SEGV. See here:...