Pierangelo Masarati
12c32c3e6c
fix previous commit
2005-04-27 02:38:55 +00:00
Pierangelo Masarati
2f877b48b1
introduce ber_bvreplace()
2005-04-21 03:40:50 +00:00
Kurt Zeilenga
dc0eacd40b
Happy New Year!
2005-01-01 20:49:32 +00:00
Kurt Zeilenga
e983616d75
More NEW_LOGGING removal
2004-10-19 01:40:38 +00:00
Kurt Zeilenga
d611a4b49a
unifdef -UNEW_LOGGING
2004-09-04 04:54:28 +00:00
Kurt Zeilenga
e0a9ea2f50
Move MSVC port to the Attic
2004-09-04 04:37:41 +00:00
Howard Chu
24b7f5c42c
Fix 't' tag option
2004-07-09 10:19:20 +00:00
Kurt Zeilenga
93b72e36e8
cleanup
2004-06-30 22:28:15 +00:00
Kurt Zeilenga
781c2d02a1
fix Compare bug in liblber/memory.c (ITS#3116)
2004-04-26 23:16:45 +00:00
Kurt Zeilenga
62da0b6738
AC_STRERROR_R
2004-04-25 00:19:06 +00:00
Howard Chu
affe835984
NUL-terminate alloc'd berbuf (ITS#3086)
2004-04-15 10:25:14 +00:00
Kurt Zeilenga
b3fdf881c3
ITS#3072: remove extraneous assignment
2004-04-08 20:20:36 +00:00
Howard Chu
c558bd49bc
ITS#2992 Windows fixes from Alexey Melnikov
2004-03-05 12:24:06 +00:00
Howard Chu
f8d54b4e87
Fix prev EBCDIC commit
2004-02-04 22:53:17 +00:00
Howard Chu
9f3b0d60f9
Fix EBCDIC conversion for syslog()
2004-02-03 03:58:38 +00:00
Kurt Zeilenga
3c598e89fb
Happy new year
2004-01-01 19:15:16 +00:00
Kurt Zeilenga
c5f83acf6e
cleanup
2003-12-07 05:12:36 +00:00
Howard Chu
f01c60dd66
ITS#2538 plug leak
2003-12-07 04:48:50 +00:00
Kurt Zeilenga
85013a9d98
acknowledgements and notices
2003-11-26 22:51:15 +00:00
Kurt Zeilenga
159de0f135
Updated notices and acknowledgements
2003-11-26 07:16:36 +00:00
Kurt Zeilenga
e3a4c4ec9c
Notice/Acknowledge updates
2003-11-26 02:58:56 +00:00
Kurt Zeilenga
327880b984
Notice updates
2003-11-25 23:17:08 +00:00
Howard Chu
ede6ea1f64
Fix typo in LTFINISH invcation
2003-10-01 02:26:41 +00:00
Kurt Zeilenga
db097047af
code cleanup
2003-07-08 03:46:20 +00:00
Hallvard Furuseth
a231098e28
Fix typo in comment
2003-06-27 19:12:07 +00:00
Hallvard Furuseth
0f29f0af96
#define *_OPT_ON &ber_pvt_opt_on. The old (void*)1 definition could be == NULL.
2003-06-06 13:50:01 +00:00
Hallvard Furuseth
1fa40181d9
Cast unsigned char *p to char *.
2003-06-03 17:51:38 +00:00
Howard Chu
a3b73b50ce
Fix includes for EBCDIC
2003-05-29 10:02:10 +00:00
Howard Chu
5d0ba372e5
Fix LBER_OPT_MEMCTX behavior
2003-05-28 22:17:08 +00:00
Howard Chu
13aa48e47a
Fix reading multibyte lengths
2003-05-22 06:24:23 +00:00
Kurt Zeilenga
71e0359f37
Back out last change... I forget ber_get_next eats a sequence
2003-05-22 05:41:13 +00:00
Kurt Zeilenga
6035ecfe7b
Reverse unintended commit
2003-05-22 05:33:04 +00:00
Kurt Zeilenga
df1381fa38
cleanup
2003-05-22 05:32:06 +00:00
Kurt Zeilenga
a08e72a9e8
Remove wrapping sequence to align with dtest
2003-05-22 04:45:50 +00:00
Kurt Zeilenga
6d36ba9d9f
Add trickle code to test ber_get_next.
...
Use etest {...} | dtest {...} to test.
2003-05-22 04:37:44 +00:00
Kurt Zeilenga
bfa6808c48
Fix dtest ber_get_next() usage
2003-05-22 03:35:36 +00:00
Howard Chu
3d9fd17678
ber_get_next - set errno to 0 before calling ber_int_sb_read(), otherwise
...
an EOF will return with the previously set errno value.
2003-05-20 04:08:35 +00:00
Jong Hyuk Choi
4f58efc4d1
- change in message to modlist conversion
2003-05-20 01:45:12 +00:00
Howard Chu
3fc96a24ee
More ITS#2490 - fix retries for multi-byte lengths
2003-05-19 12:14:15 +00:00
Howard Chu
5eb0ec070c
ITS#2490 - more retry checks
2003-05-19 10:37:09 +00:00
Howard Chu
9757665aed
ITS#2490 - allow retry for incomplete reads of BER tag & len
2003-05-19 10:33:18 +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
23b63aac39
Free ber mem arrays in reverse order. (better for sl_free)
2003-04-29 21:09:02 +00:00
Hallvard Furuseth
778a38f49c
Reduce warnings: Add missing 0 or NULL initializers for struct members.
2003-04-29 16:36:19 +00:00
Howard Chu
deea8db4cd
EBCDIC fix - ber_pvt_strcopy is now lutil_strcopy
2003-04-25 12:32:15 +00:00
Howard Chu
a413bab19a
Clean up prev commit
2003-04-24 04:20:17 +00:00
Howard Chu
b6111d793e
Fix multi-byte tag parsing
2003-04-24 03:59:45 +00:00
Howard Chu
bcf7ab26e4
ITS#2465 fix? ber_get_next must read at least sizeof(tag)+sizeof(len)
...
which should be at most 8 bytes. However if we read more than the minimum
message length, we have a problem because we steal bytes from any following
message, and there is no buffer mechanism to push back excess data.
The shortest legitimate message is Unbind at 7 bytes, but there shouldn't
be anything following it. Abandon at 8 bytes is next, so always requesting
at least 8 bytes should be safe. Always requesting 9 was a problem.
Please double-check these assumptions...
2003-04-24 02:10:18 +00:00
Howard Chu
d14ff18d7f
ITS#2458 fix array decoding
2003-04-24 01:37:01 +00:00
Howard Chu
42e7845d81
More malloc context tweaks
2003-04-10 06:14:16 +00:00