Commit Graph

16 Commits

Author SHA1 Message Date
leitner
f4d4fb5f1f free unit test buf, no memory leaks from sanitizer 2023-09-16 19:23:23 +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
5c53f827d3 make check should have warnings enabled and optimizer on 2023-09-07 20:55:47 +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
3cb4e4b695 add mmap based off-by-one detection 2022-01-07 23:09:30 +00:00
leitner
25763433ab 100% unit test coverage 2022-01-05 01:17:27 +00:00
leitner
7233b84786 add missing check to length parser
add code to iterate through x509v3 extensions
2014-04-23 14:10:48 +00:00
leitner
da36873b76 mmap_read now returns const char*, remove warnings
reject non-minimal encodings for lengths and tags
catch too-large-value overflows in tags
2014-04-15 20:40:01 +00:00
leitner
e04ca78ff8 add "generic" format string based encoder and decoder (scan_asn1generic,
fmt_asn1generic, see t10.c for example usage)
add "generic" asn.1 dumper (in t10.c)
fix some read off-by-one errors, minor cleanups
add real OID support
add bitstring support
2011-04-28 19:50:11 +00:00
leitner
35f2b3b745 first shot at "addrequest" support 2007-06-28 22:17:33 +00:00
leitner
fefbe77ba0 work around gcc 4 bug (that optimizes away a security check) 2006-11-22 09:54:03 +00:00
leitner
86bcdeb915 int -> unsigned int 2005-07-08 20:50:53 +00:00
leitner
5b980e3f93 ldapclient can now also query for no attributes
mstorage_add can now allocate larger chunks (and parse uses 1 MiB)
fix small oversight in addindex putting wrong index size in header
more integer overflow checks in asn1 code (not security relevant)
fix missing initialization in asn1 routines (not security relevant, code
section not triggered by ldap)
2005-04-01 21:53:33 +00:00
leitner
e0a5cf85ee import patch from David Lichteblau and make scan_ldapsearchrequest work
again with the fixed code ;)
2002-01-28 02:34:21 +00:00
leitner
91f809d603 add parser for SearchResultEntry 2002-01-14 23:22:28 +00:00
leitner
2d32361380 check in work in progress.
Please see README.
2002-01-14 16:14:31 +00:00