Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-03-18 | charset: fixed a problem with the global use of the iconv_convenience structure | Andrew Tridgell | 1 | -2/+4 | |
We had a crash bug where a cached copy of a iconv convenience pointer was used after being freed when loadparm asked for iconv to reload. This could happen if a python module used a iconv based function before loadparm was completed. The fix is to ensure that any use of this pointer remains valid, by reusing the pointer itself when it has already been initialised, but filling in the child elements with the updated values. | |||||
2010-02-19 | librpc/ndr: don't overwrite the content in ndr_push_relative_ptr2_end() | Stefan Metzmacher | 1 | -2/+8 | |
metze | |||||
2010-02-18 | libndr: fix ndr_size_* calculation with relative reverse buffers | Stefan Metzmacher | 1 | -0/+6 | |
metze | |||||
2010-02-18 | libndr: for now align reverse relative pointers to 2 bytes by default. | Stefan Metzmacher | 1 | -0/+3 | |
This is just a hack and we should let the callers use FLAG_ALIGN2 explicit in future. metze | |||||
2010-02-18 | libndr: implement LIBNDR_RELATIVE_REVERSE handling | Stefan Metzmacher | 1 | -3/+86 | |
This is based on Guenther's initial code. metze | |||||
2010-02-18 | libndr: store a subcontext buffer size in ndr_push_subcontext_start. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-02-18 | libndr: give an error when ndr_push_relative_ptr2_start()/_end() is used ↵ | Stefan Metzmacher | 1 | -1/+6 | |
with the RELATIVE_REVERSE flag metze | |||||
2010-02-18 | libndr: add LIBNDR_FLAG_NO_RELATIVE_REVERSE so that relative reverse processing | Günther Deschner | 1 | -0/+3 | |
can be disabled for single structure elements. Guenther | |||||
2010-02-18 | libndr: change subcontext buffer allocation to allocate on subcontext_start. | Günther Deschner | 1 | -3/+7 | |
Guenther | |||||
2010-02-18 | librpc/ndr: make ndr_push_relative_ptr2() static | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2010-02-18 | libndr: add ndr_push_relative_ptr2_start and ndr_push_relative_ptr2_end. | Günther Deschner | 1 | -0/+24 | |
Guenther | |||||
2009-12-12 | librpc/ndr: add support for relative_short pointers | Matthieu Patou | 1 | -0/+42 | |
relative_short is like relative but instead of having the offset coded on 4 bytes it's coded on 2 bytes. Such things happen in GET_DFS_REFERAL messages. Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-20 | librpc/ndr: remember the highest offset we parsed with relative pointer buffers | Stefan Metzmacher | 1 | -6/+21 | |
ndr_*_pull_blob_all() will now work if relative pointers are used. metze | |||||
2009-09-17 | ndr: split out ndr enum functions | Andrew Tridgell | 1 | -4/+4 | |
This allows for easier implementation of the NDR32/NDR64 split | |||||
2009-09-17 | ndr: added support for NDR64 | Andrew Tridgell | 1 | -0/+3 | |
This adds NDR64 support for the push functions in libndr | |||||
2009-09-16 | ndr: added --ndr64 flag to ndrdump | Andrew Tridgell | 1 | -3/+3 | |
This only does pull, but it is useful for w2k8-r2 <-> w2k8-r2 ndrdump usage, which is always 64bit. | |||||
2009-09-12 | s4-ndr: fixed memory leaks in ndr_pull_*_blob() | Andrew Tridgell | 1 | -9/+16 | |
We needed to free the ndr structures, both on error and normal return | |||||
2009-09-03 | fix the ndr print routines for samba4 | Andrew Tridgell | 1 | -0/+15 | |
This uses a hackish #if just for samba4. The proper fix is much more complex. | |||||
2009-09-03 | Fix for DSSYNC test against Windows 2003 | Anatoliy Atanasov | 1 | -0/+1 | |
2009-06-12 | Revert "avoid crashes in ndr_print_*() calls" | Andrew Tridgell | 1 | -5/+0 | |
This reverts commit f5a47dc4bf2793ab328c8b0e35adace497819e7d. This change broke Samba3. We'll need to do it the long way. | |||||
2009-06-12 | avoid crashes in ndr_print_*() calls | Andrew Tridgell | 1 | -0/+5 | |
This is a hackish fix, but it will do for now | |||||
2009-03-10 | Don't log NDR_PRINT_DEBUG at level 0, this always ends up in syslog | Volker Lendecke | 1 | -5/+5 | |
I think we eventually need to pass down the debuglevel here. | |||||
2009-01-26 | Add function for mapping NDR error codes to strings. | Jelmer Vernooij | 1 | -0/+35 | |
2009-01-20 | librpc: Fix warning caused by some empty debug strings | Tim Prouty | 1 | -3/+3 | |
It would probably be better to create a new macro such as DEBUGHDR to allow empty strings for debug statements, but for the short term this eliminates the warning with no negative consequences. | |||||
2009-01-19 | ndr_print: fix the output ndr debug messages only add header line once | Stefan Metzmacher | 1 | -0/+6 | |
metze (from samba4wins tree e99531aae325e4443fcb917a75dfe4a86b892583) | |||||
2009-01-01 | Add iconv_convenience argument to size functions. | Jelmer Vernooij | 1 | -4/+4 | |
2008-11-02 | Remove another use of global_loadparm. | Jelmer Vernooij | 1 | -2/+2 | |
Eventually, we should move some of these parameters into a separate struct (perhaps into smb_transport_options?), to avoid the long lists of parameters. | |||||
2008-10-13 | Share ndr.c implementation. | Jelmer Vernooij | 1 | -0/+1118 | |