leitner
|
e7d7f4e336
|
#include update
|
2023-10-16 14:29:06 +00:00 |
|
leitner
|
dccc180b7f
|
add unit tests
|
2023-09-29 12:47:48 +00:00 |
|
leitner
|
73c93d1105
|
add unit tests
|
2023-09-29 12:34:07 +00:00 |
|
leitner
|
936fe85cd6
|
add unit tests
|
2023-09-24 19:43:39 +00:00 |
|
leitner
|
3e341e22fd
|
mention indirect unit test coverage
|
2023-09-24 19:43:26 +00:00 |
|
leitner
|
c6c8ccba35
|
unit tests!
|
2023-09-17 13:45:04 +00:00 |
|
leitner
|
fc2b16c556
|
remove #if 0'd code from scan_ldapsearchfilter
add unit tests to scan_ldapaddrequest
|
2023-09-17 12:17:55 +00:00 |
|
leitner
|
1273a2669e
|
return invalidCredentials on auth fail, not inappropriateAuthentication
|
2023-09-16 19:49:33 +00:00 |
|
leitner
|
f448fdec71
|
unit tests
|
2023-09-16 19:24:45 +00:00 |
|
leitner
|
c02138824b
|
make unit test work with valgrind as well
|
2023-09-16 19:24:29 +00:00 |
|
leitner
|
3aae498dd3
|
left shift of signed long is undefined behavior, it turns out.
don't do it then.
|
2023-09-16 19:23:56 +00:00 |
|
leitner
|
f4d4fb5f1f
|
free unit test buf, no memory leaks from sanitizer
|
2023-09-16 19:23:23 +00:00 |
|
leitner
|
735f326254
|
clean some more potential gcov files
|
2023-09-16 09:19:54 +00:00 |
|
leitner
|
41df4dbaeb
|
add unit tests for scan_ldap*
add return 0 to unit tests for scan_asn1*
|
2023-09-16 09:19:19 +00:00 |
|
leitner
|
b75c256e32
|
make sure scan_asn1rawint also works when char == unsigned char (default on ARM)
|
2023-09-07 21:03:13 +00:00 |
|
leitner
|
5c53f827d3
|
make check should have warnings enabled and optimizer on
|
2023-09-07 20:55:47 +00:00 |
|
leitner
|
6a2adea2ad
|
change boolean typesOnly in search request to int
|
2023-09-07 16:28:49 +00:00 |
|
leitner
|
353b5cbd00
|
adjust boolean code test suite
|
2023-09-07 16:18:48 +00:00 |
|
leitner
|
54d3625e1e
|
boolean true is encoded as 0xff not 1
|
2023-09-03 17:52:23 +00:00 |
|
leitner
|
f6952c5cd2
|
true is encoded as 0xff, not 1 (thanks Christian Ullrich)
|
2023-09-03 17:50:19 +00:00 |
|
leitner
|
c41cd9658c
|
test suite work
|
2023-01-18 14:01:57 +00:00 |
|
leitner
|
53e0ec0ad8
|
remove unused arguments
|
2023-01-18 12:21:24 +00:00 |
|
leitner
|
b865407aee
|
add no length check version of sequence parser (so you can tell how
large the incoming message is to allocate buffer sizes)
|
2023-01-18 12:20:20 +00:00 |
|
leitner
|
187eda5860
|
support pipelining, requests > 8k
support modify requests on records in data (not the journal)
|
2023-01-18 12:18:01 +00:00 |
|
leitner
|
336118b774
|
introduce environment-settable one-shot mode
|
2022-10-06 11:14:17 +00:00 |
|
leitner
|
41b1bb0349
|
add some cheap sanity checks
|
2022-10-06 10:51:14 +00:00 |
|
leitner
|
28e75ee2bd
|
make seccomp filter more pedantic (only allow O_APPEND on journal)
update seccomp filter to newest glibc (newfsstatat)
|
2022-10-04 11:47:53 +00:00 |
|
leitner
|
f21eca88c7
|
don't run into an infinite loop when hitting surprise EOF
|
2022-01-14 19:42:09 +00:00 |
|
leitner
|
1714770b18
|
100% unit test coverage
|
2022-01-08 01:21:05 +00:00 |
|
leitner
|
121739c20f
|
clarify comments
|
2022-01-08 00:45:54 +00:00 |
|
leitner
|
5c30e3ea61
|
100% unit test coverage
|
2022-01-08 00:45:08 +00:00 |
|
leitner
|
3cb4e4b695
|
add mmap based off-by-one detection
|
2022-01-07 23:09:30 +00:00 |
|
leitner
|
3d9eb5c7da
|
mmap based off-by-one detection
|
2022-01-07 22:57:42 +00:00 |
|
leitner
|
b4def653ac
|
use mmapped guard page to catch overreads
|
2022-01-07 04:06:11 +00:00 |
|
leitner
|
fc16e749a2
|
off by one
|
2022-01-07 03:44:43 +00:00 |
|
leitner
|
78431d5c83
|
reject values that have sizeof(long) bytes but are not representable in
a long: positive > LONG_MAX and negative < LONG_MIN
|
2022-01-07 03:21:40 +00:00 |
|
leitner
|
0e8e8c87a8
|
100% unit test coverage
|
2022-01-06 00:22:24 +00:00 |
|
leitner
|
b3716435cc
|
100% unit test coverage
|
2022-01-06 00:14:50 +00:00 |
|
leitner
|
40ff4401c4
|
test one more corner case
|
2022-01-06 00:00:17 +00:00 |
|
leitner
|
52dfd75366
|
100% unit test coverage
|
2022-01-05 23:58:37 +00:00 |
|
leitner
|
25763433ab
|
100% unit test coverage
|
2022-01-05 01:17:27 +00:00 |
|
leitner
|
709888e86f
|
don't actually need the assert in release code
|
2021-04-27 19:54:12 +00:00 |
|
leitner
|
e29be46197
|
fix a few gcc 11 -fanalyzer complaints
|
2021-04-27 17:54:31 +00:00 |
|
leitner
|
1cb3d7807a
|
silence two more compiler warnings
|
2020-05-25 15:06:49 +00:00 |
|
leitner
|
fe4e6870de
|
README was woefully out of date. tinyldap has had write supports for
years now. ACL now gives some information about the default behavior and
how matching works.
|
2020-04-17 10:51:10 +00:00 |
|
leitner
|
5fb4ff4e59
|
fix typo
|
2020-04-16 17:34:14 +00:00 |
|
leitner
|
5c2ef04b04
|
make tests clearer
|
2019-10-20 14:08:46 +00:00 |
|
leitner
|
b05b50d6cf
|
add more unit tests
|
2019-10-19 22:56:31 +00:00 |
|
leitner
|
2af896cd1b
|
make taglen calculation yet more obvious
|
2019-09-24 21:40:02 +00:00 |
|
leitner
|
ec9280498c
|
more unit tests :)
|
2019-09-24 16:27:16 +00:00 |
|