1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-28 11:42:03 +03:00
Commit Graph

8 Commits

Author SHA1 Message Date
96c795cea7 reverted this patch till I sort out the craziness with UNIHDR
(This used to be commit e3d00fa47d)
2003-01-17 06:15:18 +00:00
ec879eacc2 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.
(This used to be commit b9eff31b14)
2003-01-17 04:58:45 +00:00
771fc528eb More cleanups of validation functions.
(This used to be commit a4790ba42c)
2002-10-21 04:47:29 +00:00
69e2a9d7fa Stricter validation in python->C conversion functions.
(This used to be commit 672c07e243)
2002-10-21 04:16:12 +00:00
3ec6d94f95 Fixed compiler warning.
(This used to be commit 736eb3c748)
2002-05-27 06:28:45 +00:00
641d6dc79e Remove level and name fields from dictionary copy in py_to_FORM()
(This used to be commit ac15442579)
2002-05-20 08:09:19 +00:00
296583a5e1 Add level field when converting FORM_1 to dict.
More error checking when converting from dict to FORM_1.
(This used to be commit 608b9ab29d)
2002-05-17 02:34:49 +00:00
f9b571811d Converted drivers, forms and ports functions to use new conversion routines
and exception throwing.
(This used to be commit ed0a6480f7)
2002-04-05 05:48:01 +00:00