diff options
author | Volker Lendecke <vlendec@samba.org> | 2005-01-31 08:29:51 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:55:28 -0500 |
commit | c23c9bfd67fb3ebf6aeef243af8a93b1be867369 (patch) | |
tree | 5d8109c5c90f7b174f763f555352cfdd584ad5c4 | |
parent | 2eab58d3fdaef69eef4958f11b4dec730ae18372 (diff) | |
download | samba-c23c9bfd67fb3ebf6aeef243af8a93b1be867369.tar.gz samba-c23c9bfd67fb3ebf6aeef243af8a93b1be867369.tar.bz2 samba-c23c9bfd67fb3ebf6aeef243af8a93b1be867369.zip |
r5125: Fix bug 2113 -- thanks to jason@ncac.gwu.edu
(This used to be commit 0c205bcc864c8dc01124a5d654792de0cbf79a63)
-rw-r--r-- | source3/rpc_parse/parse_lsa.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/source3/rpc_parse/parse_lsa.c b/source3/rpc_parse/parse_lsa.c index c4ff240cef..e38197ddba 100644 --- a/source3/rpc_parse/parse_lsa.c +++ b/source3/rpc_parse/parse_lsa.c @@ -214,16 +214,12 @@ static void init_lsa_obj_attr(LSA_OBJ_ATTR *attr, uint32 attributes, LSA_SEC_QOS static BOOL lsa_io_obj_attr(const char *desc, LSA_OBJ_ATTR *attr, prs_struct *ps, int depth) { - uint32 start; - prs_debug(ps, depth, desc, "lsa_io_obj_attr"); depth++; if(!prs_align(ps)) return False; - start = prs_offset(ps); - /* these pointers had _better_ be zero, because we don't know what they point to! */ @@ -240,15 +236,6 @@ static BOOL lsa_io_obj_attr(const char *desc, LSA_OBJ_ATTR *attr, prs_struct *ps if(!prs_uint32("ptr_sec_qos ", ps, depth, &attr->ptr_sec_qos )) /* security quality of service (pointer) */ return False; - /* code commented out as it's not necessary true (tested with hyena). JFM, 11/22/2001 */ -#if 0 - if (attr->len != prs_offset(ps) - start) { - DEBUG(3,("lsa_io_obj_attr: length %x does not match size %x\n", - attr->len, prs_offset(ps) - start)); - return False; - } -#endif - if (attr->ptr_sec_qos != 0) { if (UNMARSHALLING(ps)) if (!(attr->sec_qos = PRS_ALLOC_MEM(ps,LSA_SEC_QOS,1))) |