Kurt Zeilenga
966cef8c9a
Happy New Year
2011-01-05 00:42:37 +00:00
Kurt Zeilenga
3dadeb3efe
happy belated New Year
2010-04-13 22:17:29 +00:00
Hallvard Furuseth
48048c5348
More ITS#6353 - relent a bit: accept terminating NUL byte, which AD can send
2009-11-04 11:17:03 +00:00
Hallvard Furuseth
989bd54914
For ITS#6353: Catch embedded NULs in BerValues converted to char* strings
2009-10-28 23:00:27 +00:00
Hallvard Furuseth
b0e6e73d1c
ITS#6215 cleanup: Export ber_skip_element() to complement ber_peek_element()
2009-08-12 22:13:50 +00:00
Hallvard Furuseth
3802aa5483
More ITS#6215: Catch malformed elements in ber_get_stringbvl().
...
Do not use ber_<first/next>_element(), which have no error return.
2009-08-07 19:26:11 +00:00
Hallvard Furuseth
bc20500e62
More ITS#6215: Define and use ber_tag_and_rest() and ber_<peek/skip>_element()
2009-08-07 19:15:26 +00:00
Hallvard Furuseth
95fbdcab4e
More ITS#6215: Fix wrong fix in rev 1.121
2009-08-07 16:04:25 +00:00
Hallvard Furuseth
455c49ba3e
Simplify struct bgbvr and ber_get_stringbvl(), preserving behavior.
2009-08-04 21:11:38 +00:00
Hallvard Furuseth
19b8065922
More ITS#6215: Fix va_arg integer types for ber_scanf "bei" & ber_printf "BX"
2009-07-29 23:03:10 +00:00
Hallvard Furuseth
8b3bb91e93
More ITS#6215: Fix ber_scanf(,"mMvVW",) cleanup on error:
...
Parse args correctly and free up memory.
Also set some lengths=0 and remove unneeded ptr==NULL tests before frees.
2009-07-29 22:38:19 +00:00
Hallvard Furuseth
886520f193
More ITS#6215: Free data to the memory context used to allocate it
2009-07-29 22:10:45 +00:00
Hallvard Furuseth
b6bad3e995
More ITS#6215:
...
Reject indefinite-length format in ber_skip_tag(). localize *len.
Reject broken and too large bitstrings in ber_get_bitstringa().
Simplify a number of functions somewhat - no functionality changes.
Remove unnecessary tests and ber_tag updates after ber_skip_tag().
2009-07-29 21:47:54 +00:00
Hallvard Furuseth
53f884ac1d
Remove useless asserts that will be re-assert()ed before the variable is used
2009-07-29 15:06:28 +00:00
Howard Chu
07e79f26a4
Revert prev commit
2009-02-10 21:29:56 +00:00
Pierangelo Masarati
2b95e7d288
partially addresses an issue with ITS#5931
2009-02-10 12:44:12 +00:00
Kurt Zeilenga
4af9eb9715
Update copyright notices
2009-01-22 00:40:04 +00:00
Hallvard Furuseth
4028c83c67
ber_decode_oid(): Fix typo in comment
2008-08-06 13:36:53 +00:00
Kurt Zeilenga
c890c96d13
Happy New Year (belated)
2008-01-08 00:19:56 +00:00
Howard Chu
bdac543b3b
Cleanup debug calls
2007-10-18 01:35:07 +00:00
Howard Chu
670febf7d5
ITS#5105 from Alexey Melnikov @ isode
2007-08-24 21:58:20 +00:00
Hallvard Furuseth
17afb33c19
ITS#5010: OID encode/decode fixes and paranoia. #define LBER_OID_COMPONENT_MAX.
2007-07-23 12:57:23 +00:00
Hallvard Furuseth
545b5555fb
ber_decode_oid(), ber_encode_oid(): cast bv_val to unsigned char*
2007-04-04 17:51:10 +00:00
Howard Chu
b213588f95
Add options for ber_get_stringbv() to omit NUL-terminator, to allow
...
non-destructive in-place parsing
2007-03-23 15:27:38 +00:00
Howard Chu
9fe8f72310
Add DER OID encoder/decoder
2007-03-20 15:10:16 +00:00
Kurt Zeilenga
da6d9eb046
happy new year
2007-01-02 20:00:42 +00:00
Kurt Zeilenga
cbc11c9233
unifdef -DLDAP_NULL_IS_NULL
2006-02-14 23:18:12 +00:00
Kurt Zeilenga
acbb5cf689
Happy new year!
2006-01-03 23:11:52 +00:00
Pierangelo Masarati
4a6f4369c0
don't malloc empty strings for matched, error
2005-11-12 18:42:03 +00:00
Kurt Zeilenga
dc0eacd40b
Happy New Year!
2005-01-01 20:49:32 +00:00
Kurt Zeilenga
d611a4b49a
unifdef -UNEW_LOGGING
2004-09-04 04:54:28 +00:00
Kurt Zeilenga
3c598e89fb
Happy new year
2004-01-01 19:15:16 +00:00
Kurt Zeilenga
85013a9d98
acknowledgements and notices
2003-11-26 22:51:15 +00:00
Kurt Zeilenga
327880b984
Notice updates
2003-11-25 23:17:08 +00:00
Kurt Zeilenga
db097047af
code cleanup
2003-07-08 03:46:20 +00:00
Hallvard Furuseth
5ee9264465
Fix assignment of <char/int>* to unsigned <char/int>* and vice versa.
2003-05-02 13:29:28 +00:00
Howard Chu
d14ff18d7f
ITS#2458 fix array decoding
2003-04-24 01:37:01 +00:00
Howard Chu
ca12bb75c7
Extended API for ber_mem functions, add context argument.
...
Must always use ber_mem funcs, even if CSRIMALLOC is present.
2003-04-09 13:25:11 +00:00
Howard Chu
8a8ae8bf85
Add comment to previous
2003-03-12 03:23:09 +00:00
Howard Chu
066e3310a9
ITS#2365 - preserve internal ber_tag as well as ber_ptr for rewinding.
2003-03-12 02:33:53 +00:00
Pierangelo Masarati
e24f55b29a
silence warning
2003-03-04 09:16:57 +00:00
Howard Chu
3cc07977fa
Replace recursive get_stringbvr with iterative get_stringbvl to avoid
...
stack overrun when parsing large groups
2003-03-03 15:54:49 +00:00
Howard Chu
caeb6fc1f0
Fix ITS#2280, reject sequences with invalid lengths
2003-01-23 02:19:59 +00:00
Hallvard Furuseth
9d11c5ea46
Remove pointless `unsigned < 0' test.
2003-01-19 14:02:06 +00:00
Kurt Zeilenga
6939c53170
Happy new year
2003-01-03 20:20:47 +00:00
Kurt Zeilenga
235973571a
proxy authz control (client only)
...
Misc control cleanups (client only)
2002-11-28 02:26:55 +00:00
Julius Enarusai
6107ba67d2
Coverted LDAP_LOG macro to use subsystem ID int values instead of string values
2002-07-11 20:33:24 +00:00
Howard Chu
ac1332cdb8
Renamed BVarray to BerVarray. Moved slapd:bvarray_{add,free} to
...
liblber:ber_bvarray_{add,free}.
2002-01-14 01:43:17 +00:00
Howard Chu
0ecc0414a5
Fix struct initialization in ber_scanf() for ANSI C conformance
2002-01-12 02:23:04 +00:00
Kurt Zeilenga
7db15e9d12
Remove lint.
2002-01-07 21:48:17 +00:00