1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-29 11:21:54 +03:00
samba-mirror/source/rpc_parse
Andrew Tridgell b9eff31b14 This removes the 3rd argument from init_unistr2(). There were 240
calls to init_unistr2() in the code and every one of them got the 3rd
argument incorrect, so I thought it best just to remove the argument.

The incorrect usage was caused by callers using strlen() to determine
the length of the string. The 3rd argument to init_unistr2() was
supposed to be the character length, not the byte length of the
string, so for non-english this could come out wrong.

I also removed the bogus 'always allocate at least 256 bytes'
hack. There may be some code that relies on this, but if there is then
the code is broken and needs fixing.
0001-01-01 00:00:00 +00:00
..
.cvsignore add .po32 files to ignore list 0001-01-01 00:00:00 +00:00
parse_dfs.c This removes the 3rd argument from init_unistr2(). There were 240 0001-01-01 00:00:00 +00:00
parse_ds.c BIG patch... 0001-01-01 00:00:00 +00:00
parse_lsa.c This removes the 3rd argument from init_unistr2(). There were 240 0001-01-01 00:00:00 +00:00
parse_misc.c This removes the 3rd argument from init_unistr2(). There were 240 0001-01-01 00:00:00 +00:00
parse_net.c This removes the 3rd argument from init_unistr2(). There were 240 0001-01-01 00:00:00 +00:00
parse_prs.c Remove dead function. 0001-01-01 00:00:00 +00:00
parse_reg.c This removes the 3rd argument from init_unistr2(). There were 240 0001-01-01 00:00:00 +00:00
parse_rpc.c BIG patch... 0001-01-01 00:00:00 +00:00
parse_samr.c This removes the 3rd argument from init_unistr2(). There were 240 0001-01-01 00:00:00 +00:00
parse_sec.c BIG patch... 0001-01-01 00:00:00 +00:00
parse_spoolss.c This removes the 3rd argument from init_unistr2(). There were 240 0001-01-01 00:00:00 +00:00
parse_srv.c This removes the 3rd argument from init_unistr2(). There were 240 0001-01-01 00:00:00 +00:00
parse_wks.c BIG patch... 0001-01-01 00:00:00 +00:00