1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/source3/rpc_parse
Volker Lendecke 5db731d899 r1202: This hopefully fixes our memory use when unmarshalling strings. The test case
was 'rpcclient -c "enumprinters 2"' with 4000 printers. At some point this
completely exploded in memory usage. For every string we talloc'ed memory up
to the end of the buffer. -> O(n^2).

This survives valgrind with this number of printers. It might also have
influence on winbind with a large number of users.

All those who dare to look at samba3 rpc code, could you please take a look? I
know this is a burden, but I would like comments ;-)))

Volker
(This used to be commit af251f4ea6)
2007-10-10 10:51:59 -05:00
..
parse_dfs.c Merge from 3.0: 2003-09-29 06:17:09 +00:00
parse_ds.c r196: merging struct uuid from trunk 2007-10-10 10:51:13 -05:00
parse_echo.c sync 3.0 into HEAD for the last time 2003-09-09 04:07:32 +00:00
parse_lsa.c r196: merging struct uuid from trunk 2007-10-10 10:51:13 -05:00
parse_misc.c r196: merging struct uuid from trunk 2007-10-10 10:51:13 -05:00
parse_net.c r991: Allow winbindd to use the domain trust account password 2007-10-10 10:51:53 -05:00
parse_prs.c r1202: This hopefully fixes our memory use when unmarshalling strings. The test case 2007-10-10 10:51:59 -05:00
parse_reg.c Merge from 3.0: 2003-09-29 06:17:09 +00:00
parse_rpc.c r704: BUG 1315: fix for schannel client connections to server's that don't support 128 bit encryption 2007-10-10 10:51:34 -05:00
parse_samr.c r1125: Remove bougus comments. (The real fix was to the sealed pipe padding) 2007-10-10 10:51:56 -05:00
parse_sec.c r196: merging struct uuid from trunk 2007-10-10 10:51:13 -05:00
parse_shutdown.c New files for support of initshutdown pipe. Win2k doesn't respond properly 2003-10-24 13:38:13 +00:00
parse_spoolss.c fixes for prnadmin.dll API 2004-03-24 19:15:17 +00:00
parse_srv.c Merge from 3.0: 2003-09-29 06:17:09 +00:00
parse_wks.c Merge from HEAD - make Samba compile with -Wwrite-strings without additional 2003-01-03 08:28:12 +00:00