summaryrefslogtreecommitdiff
path: root/source3/registry/reg_parse_internal.c
AgeCommit message (Collapse)AuthorFilesLines
2011-05-18s3-lib Replace StrCaseCmp() with strcasecmp_m()Andrew Bartlett1-1/+1
strcasecmp_m() never needs to call to talloc, and via next_codepoint() still has an ASCII fast-path bypassing iconv() calls. Andrew Bartlett
2011-03-05s3:registry: fix invalid write in iconvert_talloc()Michael Adam1-2/+5
For a non-preallocated dest-string and sourcestring of len < 2, (one or both of the) final two two zero-bytes would be written after the end of the allocated dest-string. The sourcelen did not include the source string terminator. For longer strings, this was not a problem because the dest-string would have been reallocated in the convert-loop. This is fixed now by allocating two extra bytes for the terminating 0-bytes that are needed anyways in the initial allocation. Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
2010-09-25s3: Fix some 64-bit warningsVolker Lendecke1-1/+2
2010-09-23s3:registry: try to fix the build of reg_parse_internal on HP-UXMichael Adam1-1/+1
The HP compiler does not seem to like {} for char[4].
2010-09-22s3-registry: fix some c++ build warnings.Günther Deschner1-1/+1
Guenther
2010-09-22s3-registry: handle registration entries (.reg) filesGregor Beck1-0/+346
Signed-off-by: Michael Adam <obnox@samba.org>