summaryrefslogtreecommitdiff
path: root/libcli/util/tstream.c
AgeCommit message (Collapse)AuthorFilesLines
2023-10-25libcli/util: add struct tstream_context to tstream_read_pdu_blob_full_fn_tRalph Boehme1-1/+2
Add struct tstream_context to tstream_read_pdu_blob_full_fn_t and update all callers of tstream_read_pdu_blob_send() to use the correct callback. Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2023-10-25libcli/util: add tstream_full_request_u32 and tstream_full_request_u16Ralph Boehme1-0/+27
Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-12-09CVE-2013-4408:libcli/util: add some size verification to ↵Stefan Metzmacher1-0/+5
tstream_read_pdu_blob_done() Bug: https://bugzilla.samba.org/show_bug.cgi?id=10185 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2011-06-20libcli/util Rename common map_nt_error_from_unix to avoid duplicate symbolAndrew Bartlett1-1/+1
The two error tables need to be combined, but for now seperate the names. (As the common parts of the tree now use the _common function, errmap_unix.c must be included in the s3 autoconf build). Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Jun 20 08:12:03 CEST 2011 on sn-devel-104
2010-09-26libcli/util: let tstream_read_pdu_blob_* cope with variable length headersStefan Metzmacher1-5/+13
metze
2010-09-10s3/s4:libcli/tstream - add more "char *" casts in order to suppress Solaris ↵Matthias Dieter Wallnöfer1-2/+2
warnings
2010-02-23tstream: Added a typedef for the function prototype.Andreas Schneider1-6/+2
2010-01-29s4:libcli/util/tstream.c - Need to include "system/network.h"Matthias Dieter Wallnöfer1-0/+1
Otherwise I don't get "struct iovec" through "<sys/uio.h>" on CentOS 4.
2010-01-08libcli/util: add tstream_read_pdu_blob_send/recvStefan Metzmacher1-0/+167
This will take the some full_request callback function as the Samba4 packet code. metze