summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2022-01-21 01:09:23 +0100
committerJule Anger <janger@samba.org>2022-01-30 10:57:11 +0000
commit9be924f907c5215d9452db1cb407c83f39df67a5 (patch)
tree223680fe11ed9964eed85b630e76e5cfed4e1ee0 /librpc
parenta55de23fb057d1bf431f20225529e2eadbbccfdf (diff)
downloadsamba-9be924f907c5215d9452db1cb407c83f39df67a5.tar.gz
s4:torture/ndr: demonstrate the ndr_push_string(STR_NOTERM|REMAINING) of "" is wrong
convert_string_talloc() never returns a string with len=0 and always implies zero termination byte(s). For ndr_push_string this is unexpected as we need to be compatible on the wire and push 0 bytes for an empty string. BUG: https://bugzilla.samba.org/show_bug.cgi?id=14956 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> (cherry picked from commit 8da26cb6725b5d853ab481a348a3a672966715b5)
Diffstat (limited to 'librpc')
0 files changed, 0 insertions, 0 deletions