Kurt Zeilenga
|
26b99bc35d
|
ITS#1701. Fix ber_scanf() return tag handling.
Based upon patch submitted by Hallvard B. Furuseth <h.b.furuseth@usit.uio.no>.
|
2002-04-02 18:40:04 +00:00 |
|
Kurt Zeilenga
|
a64cae0f8c
|
Need a bigger buffer
|
2002-03-23 21:14:50 +00:00 |
|
Pierangelo Masarati
|
2aec424646
|
use memchr in ber_bvchr
|
2002-02-14 21:10:13 +00:00 |
|
Pierangelo Masarati
|
215448ac83
|
substrings match works with NULs in UTF8 strings
|
2002-02-14 18:55:38 +00:00 |
|
Howard Chu
|
933f6a5fdd
|
For ITS#1601, add ber_init2() using given buffer in-place instead of
allocating a copy.
|
2002-02-14 13:32:40 +00:00 |
|
Kurt Zeilenga
|
63bdcda971
|
Fix for Linux on zSeries.
|
2002-02-13 21:26:24 +00:00 |
|
Pierangelo Masarati
|
39891e4e5b
|
make UTF8STringNormalize handle NUL
|
2002-02-13 21:25:57 +00:00 |
|
Howard Chu
|
b1c39eff65
|
Fix previous commit, need to detect very short packets.
|
2002-02-13 11:29:05 +00:00 |
|
Howard Chu
|
ab099caed5
|
ber_get_next: return error if decoded ber_len is smaller than actual count
|
2002-02-13 09:59:10 +00:00 |
|
Kurt Zeilenga
|
ce07fb958e
|
Update libtool usage
s/-L.../libraries -lldap/.../libraries/libldap/libldap.la/
|
2002-02-10 22:42:51 +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 |
|
Kurt Zeilenga
|
ce2d8ebc7e
|
Misc cleanup, lint removal, and minor optimizations
|
2002-01-13 05:00:59 +00:00 |
|
Howard Chu
|
4298f5d991
|
Rewrote ber_get_next, fixed byte-order dependency on ber_tag and optimized
|
2002-01-13 03:00:45 +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
|
c36352c173
|
Misc allocator cleanup
|
2002-01-05 19:38:54 +00:00 |
|
Kurt Zeilenga
|
f1afebe727
|
struct * are not to be const'ified
|
2002-01-05 18:54:04 +00:00 |
|
Pierangelo Masarati
|
d0261ee534
|
leftover ber_bvdup eliminated; rewritten ber_bvdup in terms of ber_dupbv; eliminated wrapper macro; other ber_* improvements
|
2002-01-05 17:49:59 +00:00 |
|
Pierangelo Masarati
|
1cf91cd6db
|
meaningful message in case max_incomingis hit
|
2002-01-05 17:16:18 +00:00 |
|
Kurt Zeilenga
|
0e2af54a3f
|
Update copyright statements
|
2002-01-04 21:17:25 +00:00 |
|
Kurt Zeilenga
|
e60d22e3c6
|
Quick fix for NULL sos
|
2002-01-03 23:25: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
|
dedc7588c9
|
We'll need queue macros in -llber...
|
2002-01-03 00:49:52 +00:00 |
|
Howard Chu
|
dd6fc04587
|
Fix externs, moved to lber-int.h
|
2002-01-02 21:19:45 +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
|
ac39aa5032
|
Tweak previous commit
|
2001-12-31 12:57:17 +00:00 |
|
Howard Chu
|
d8e70bd5f4
|
in sb_debug_read/write save errno before logging a failure.
ber_log_printf can cause errors of its own and obscure the original.
|
2001-12-31 12:50:09 +00:00 |
|
Howard Chu
|
fbc54d47d3
|
Added ber_free_buf()
|
2001-12-31 06:01:59 +00:00 |
|
Howard Chu
|
327f253183
|
Add optional len to ber_str2bv
|
2001-12-26 13:45:22 +00:00 |
|
Howard Chu
|
733056970e
|
Changed ber_bvdup to ber_dupbv with destination provided
|
2001-12-26 11:15:28 +00:00 |
|
Howard Chu
|
fb3af1ccbd
|
Merged ber_bvstr and ber_bvstrdup into ber_str2bv.
|
2001-12-26 10:06:19 +00:00 |
|
Kurt Zeilenga
|
b3b17ca4e7
|
Remove srchpref and disptmpl stuff.
|
2001-12-19 21:46:34 +00:00 |
|
Kurt Zeilenga
|
d0991d97fb
|
const'ify and remove lint
|
2001-12-19 21:22:04 +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 |
|
Howard Chu
|
0552b1c53f
|
NT updates from jon@symas.com.
|
2001-12-07 04:03:25 +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 |
|