summaryrefslogtreecommitdiff
path: root/source3/rpc_parse/parse_prs.c
AgeCommit message (Collapse)AuthorFilesLines
2010-07-16Move the remnants of rpc_parse code under registry/Simo Sorce1-866/+0
The registry code is the only last user of this code. Move everything under registry/ and hope someone will get rid od it completely from there in the future. Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16s3-parse_prs: Remove unuesd functionsSimo Sorce1-55/+0
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16s3-dcerpc: Use a local function to dump pdu regionsSimo Sorce1-1/+0
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16s3-dcerpc: Convert rdata from prs_struct to a simple DATA_BLOBSimo Sorce1-4/+8
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-07s3-rpc_parse: remove finally unused prs_unistr().Günther Deschner1-124/+0
Guenther
2010-07-07s3-rpc_parse: fix c++ buildwarning in prs_init().Günther Deschner1-1/+1
Guenther
2010-06-18Convert the prs_XXX struct and functions to use talloc instead of malloc. ↵Jeremy Allison1-16/+36
Passes valgrind and make tests for client and server. Second version of this patch after splitting up at Simo's request. Patch to follow will delete extraneous prs_mem_free() calls. Jeremy. Signed-off-by: Simo Sorce <idra@samba.org>
2010-06-16Remove two unused functions (prs_force_dynamic, prs_set_session_key).Jeremy Allison1-18/+0
Jeremy.
2010-06-15Remove unused function.Jeremy Allison1-14/+0
2009-11-03s3: Remove debug_ctx()Volker Lendecke1-1/+1
smbd just crashed on me: In a debug message I called a routine preparing a string that itself used debug_ctx. The outer routine also used it after the inner routine had returned. It was still referencing the talloc context that the outer debug_ctx() had given us, which the inner DEBUG had already freed.
2009-09-30s3-rpc_parse: remove unused prs_string.Günther Deschner1-44/+0
Guenther
2009-09-16s3-schannel: remove unused schannel_decode/schannel_encode.Günther Deschner1-286/+0
Guenther
2009-09-15s3-dcerpc: use dcerpc_AuthLevel and remove duplicate set of flags.Günther Deschner1-8/+8
Guenther
2009-09-13s3-schannel: fix Coverity #950 OVERRUN_STATIC.Günther Deschner1-1/+1
Guenther
2009-09-11s3-schannel: use NL_AUTH_SIGNATURE for schannel sign & seal (client & server).Günther Deschner1-63/+55
Guenther
2009-07-16s3-rpc_parse: remove more unused code.Günther Deschner1-318/+0
Guenther
2009-04-14Rework Samba3 to use new libcli/auth code (partial)Andrew Bartlett1-6/+6
This commit is mostly to cope with the removal of SamOemHash (replaced by arcfour_crypt()) and other collisions (such as changed function arguments compared to Samba3). We still provide creds_hash3 until Samba3 uses the credentials code in netlogon server Andrew Bartlett
2009-04-07s3:rpc_parse remove unused prs_unistr2()Andrew Bartlett1-38/+0
Signed-off-by: Günther Deschner <gd@samba.org>
2009-03-18s3-rpc_parse: remove unused BUFFER5 and UNISTR3.Günther Deschner1-61/+0
Guenther
2009-03-18s3-rpc_parse: move prs_uint64 to rpc_parse/parse_prs.c.Günther Deschner1-0/+24
Guenther
2009-02-08Most RPC requests do not need a full fragment, start smallerVolker Lendecke1-7/+10
2009-02-05s3-parsing: remove a lot of unused structures and their hand marshalling.Günther Deschner1-50/+0
Guenther
2009-01-18Tiny simplification of prs_set_offsetVolker Lendecke1-6/+3
2008-12-15s3: Use DEBUGADD instead of DEBUG to avoid printing the headerDan Sledz1-26/+26
2008-11-19s3-ntsvcs: remove old hand-marshalling for ntsvcs getdevregprop.Günther Deschner1-33/+0
Guenther
2008-11-01Rename dos_errstr() to win_errstr() for consistency with Samba 4.Jelmer Vernooij1-1/+1
2008-10-31errors: share dcerpc error function.Günther Deschner1-1/+1
Guenther
2008-09-05Fix "warning: pointer of type 'void *' used in arithmetic".Jeremy Allison1-1/+1
Jeremy. (This used to be commit 2d95ea38a2f1ead37121fcc036c21a7f20ff41f9)
2008-09-03factor prs_append_some_data out of prs_append_some_prs_dataVolker Lendecke1-9/+17
(This used to be commit 32cb45c962c822bd79a7d0f666f2f6037060b324)
2008-03-17Coverity fixesMarc VanHeyningen1-1/+1
(This used to be commit 3fc85d22590550f0539215d020e4411bf5b14363)
2007-12-28Remove static zerosVolker Lendecke1-4/+10
(This used to be commit dbcc213710a9af31b6094d4741a6f68f573dcdad)
2007-12-17Use the %*s feature of snprintf to remove anothe static fstring.Jeremy Allison1-16/+16
Jeremy. (This used to be commit 4ae4b2358688bf289305a2db0ed01b653ac073b2)
2007-11-20More pstring elimination.Jeremy Allison1-3/+3
Jeremy. (This used to be commit 15074de938539e7a9c527d9a6d81792adc2ac3d0)
2007-11-20More trivial pstring removal.Jeremy Allison1-3/+8
Jeremy. (This used to be commit bac3bb2f6e9e15b3a9a6a6511c484f8509918ca1)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison1-52/+52
bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
2007-10-10[GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.Gerald (Jerry) Carter1-5/+5
(This used to be commit 5c6c8e1fe93f340005110a7833946191659d88ab)
2007-10-10r25561: Make use of [un]marshall_sec_descVolker Lendecke1-12/+0
Minor cleanup only (This used to be commit 4dc4364b68b6b68ae0951a84475e2f9ea8cb1f8c)
2007-10-10r24993: Apply some constVolker Lendecke1-3/+3
(This used to be commit 613b9fcd18bcc29bf5313e2287b53b8de430d17e)
2007-10-10r24759: Comment out the _nonnull calls for 3.2.x, as agreed with tridge.Jeremy Allison1-1/+1
Leaving the commented out code for now, in case I need to re-test some stuff. Jeremy (This used to be commit 343be0464342aac14a9592fd73a71b7589ba34d5)
2007-10-10r24410: - I got tricked by function naming. Contrary to what seemed obvious ↵Derrell Lipman1-0/+4
to me, prs_mem_free() is not the function to be called to free memory allocated by prs_alloc_mem(). I've added a comment so others may not get bitten too. - Remove incorrect memory free calls added yesterday to replace SAFE_FREE. The memory is actually now on a talloc context, so gets freed by the caller when that context is freed. We don't need to free it iternally. Derrell (This used to be commit 2fde343150c17959fc970b18e1eb4efde800b4db)
2007-10-10r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell1-2/+1
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r23342: Stop Coverity from getting confused.Jeremy Allison1-0/+3
Jeremy. (This used to be commit 34144c63ad0d776c0b01f6bd3ce378921f2d31cd)
2007-10-10r23080: Fix bug #4637 - we hads missed some cases whereJeremy Allison1-15/+33
we were calling PRS_ALLOC_MEM with zero count. Jeremy. (This used to be commit 9a10736e6fa276ca4b0726fbb7baf0daafbdc46d)
2007-10-10r22852: merge fixes for CVE-2007-2446 and CVE-2007-2447 to all branchesGerald Carter1-1/+1
(This used to be commit f65214be68c1a59d9598bfb9f3b19e71cc3fa07b)
2007-10-10r22564: Move the _strict -> _zeronull functions into lib/util.cJeremy Allison1-1/+1
and out of talloc at tridge's request. Jeremy. (This used to be commit da78488b86c464b6861d36398cca7524ad5906fe)
2007-10-10r22542: Move over to using the _strict varients of the tallocJeremy Allison1-3/+3
calls. No functional changes. Looks bigger than it is :-). Jeremy. (This used to be commit f6fa3080fee1b20df9f1968500840a88cf0ee592)
2007-10-10r22163: Pure reformatting. I hate 4 space tabstops :-).Jeremy Allison1-15/+15
Jeremy. (This used to be commit 99abe96b2b8e41e4c7536d35cc169f7e6c3eba1c)
2007-10-10r22009: change TDB_DATA from char * to unsigned char *Stefan Metzmacher1-2/+2
and fix all compiler warnings in the users metze (This used to be commit 3a28443079c141a6ce8182c65b56ca210e34f37f)
2007-10-10r22001: change prototype of dump_data(), so that it takes unsigned char * now,Stefan Metzmacher1-8/+8
which matches what samba4 has. also fix all the callers to prevent compiler warnings metze (This used to be commit fa322f0cc9c26a9537ba3f0a7d4e4a25941317e7)