Commit Graph

110 Commits

Author SHA1 Message Date
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
Howard Chu
5fb87a7d6c Changed 'w' format character to 'M': 'm' and 'M' for "memory" ? 2002-01-06 06:10:05 +00:00
Howard Chu
c6384d875e Added doalloc flag to ber_get_stringbv. Added 'm' type to ber_scanf
to scan a berval in-place.
2002-01-06 05:36:07 +00:00
Howard Chu
76386bde5e Cleanup lint in previous commit 2002-01-06 03:05:02 +00:00
Howard Chu
b92e0011dd Prep for in-place parsing. Cache a ber_tag byte.
No visible impact from these changes.
2002-01-06 02:23:36 +00:00
Kurt Zeilenga
0e2af54a3f Update copyright statements 2002-01-04 21:17:25 +00:00
Kurt Zeilenga
28bc149884 Remove lint. 2002-01-03 20:04:31 +00:00
Howard Chu
7a853f3030 One more hack to ber_get_stringbvr for do_search 2002-01-03 05:36:26 +00:00
Howard Chu
61aa7bef74 Fix previous commit 2002-01-03 03:44:38 +00:00
Howard Chu
276b52098d Cleanup, added some explanation/comments 2002-01-03 03:30:55 +00:00
Howard Chu
bab600baf6 Safety checks for bvec's in previous patch 2002-01-03 03:11:14 +00:00
Howard Chu
829b49b5c6 New ber_get_stringbvr recursively decodes a vector, to avoid
hard-coded TMP_SLOTS limitation.
2002-01-03 02:53:41 +00:00
Kurt Zeilenga
763c0de59b Rework filter code
Misc cleanup / lint removal
2002-01-02 17:06:56 +00:00
Howard Chu
670c66bda9 Added 'W' fmt char for BVarrays 2002-01-02 08:50:07 +00:00
Howard Chu
445a4766ea Added ber_get_stringbv 2001-12-31 14:43:54 +00:00
Howard Chu
e5eb270e6c from jon@symas.com - misc Windows cleanup 2001-12-17 22:42:55 +00:00
Kurt Zeilenga
abd9be4def Remove lint and misc MSVC updates 2001-12-09 02:34:45 +00:00
Kurt Zeilenga
850702ba99 Remove lint 2001-12-04 06:14:16 +00:00
Kurt Zeilenga
4041ef05bf Slight memfree cleanup 2001-12-04 06:10:10 +00:00
Kurt Zeilenga
f83cbc2c84 Fix typo in last commit 2001-11-04 17:50:16 +00:00
Kurt Zeilenga
9bd4308edf Fix realloc bug (ITS#1410) 2001-11-03 22:07:41 +00:00
Kurt Zeilenga
978e417699 Make some additional UTF8 public
Remove lint
2001-07-21 23:13:04 +00:00