summaryrefslogtreecommitdiff
path: root/source4/torture/raw/context.c
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2009-09-11 19:57:04 +0400
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-09-11 19:16:58 +0200
commitc6dd2c9552b79c0cf68b91cfa6aed3c399323850 (patch)
tree635646c935acf2d789a16cc14b389b80b21d3779 /source4/torture/raw/context.c
parenta1cf12e1f69a9c1f062ca12e2981a45f9ea27d37 (diff)
downloadsamba-c6dd2c9552b79c0cf68b91cfa6aed3c399323850.tar.gz
samba-c6dd2c9552b79c0cf68b91cfa6aed3c399323850.tar.bz2
samba-c6dd2c9552b79c0cf68b91cfa6aed3c399323850.zip
s4: Fix parsing of CSDVersion: treat this field as an string null terminated.
CDSVersion field contains one utf16 string and then garbage which pertubated the parsing. We use subcontext to clearly define the size of the whole blob and then let the parser to find the real length of the string. This is a fix for bug 6706, many thanks to Gunter for the PIDL guidelines.
Diffstat (limited to 'source4/torture/raw/context.c')
0 files changed, 0 insertions, 0 deletions