Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | doc updatetmp-added-flag-for-incorrect-decoding | Nikos Mavrogiannopoulos | 2017-05-05 | 1 | -0/+5 |
| | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | tests: check decoding with ASN1_DECODE_FLAG_ALLOW_INCORRECT_TIME flag | Nikos Mavrogiannopoulos | 2017-05-05 | 3 | -0/+15 |
| | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | asn1Decoding: allow decoding with ASN1_DECODE_FLAG_ALLOW_INCORRECT_TIME flag | Nikos Mavrogiannopoulos | 2017-05-05 | 1 | -10/+15 |
| | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | decoding: added flag ASN1_DECODE_FLAG_ALLOW_INCORRECT_TIME | Nikos Mavrogiannopoulos | 2017-05-05 | 2 | -1/+3 |
| | | | | | | | | | This flag allows decoding errors in time fields even when in strict DER mode. That is introduced in order to allow toleration of invalid times in certificates (which are common) even though strict DER adherence is enforced in other fields. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | doc update | Nikos Mavrogiannopoulos | 2017-05-01 | 1 | -0/+4 |
| | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | Introduced error code ASN1_TIME_ENCODING_ERROR | Nikos Mavrogiannopoulos | 2017-05-01 | 3 | -3/+5 |
| | | | | | | | This error code indicates an invalid encoding in the TIME field. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | tests: cast to avoid compiler warning | Nikos Mavrogiannopoulos | 2017-01-19 | 1 | -1/+1 |
| | |||||
* | DER decoding: check the return value of _asn1_append_sequence_set | Nikos Mavrogiannopoulos | 2017-01-19 | 2 | -4/+21 |
| | | | | | | | Ensure that the return value of _asn1_append_sequence_set. This addresses a potential NULL pointer dereference. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | Cast input to isdigit() to integer | Nikos Mavrogiannopoulos | 2017-01-17 | 1 | -1/+1 |
| | | | | | | | That prevents complaints from isdigit() implementations using the input as an array index without casting. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | tests: added missing file (mscat.asn) | Nikos Mavrogiannopoulos | 2017-01-16 | 1 | -1/+1 |
| | |||||
* | Makefile: added abi-dump target | Nikos Mavrogiannopoulos | 2017-01-16 | 1 | -0/+9 |
| | |||||
* | Updated ABI dump with a more precise dump of the 3.0 library | Nikos Mavrogiannopoulos | 2017-01-16 | 1 | -1084/+975 |
| | |||||
* | released 4.10 | Nikos Mavrogiannopoulos | 2017-01-16 | 1 | -3/+7 |
| | |||||
* | added missing gnulib files | Nikos Mavrogiannopoulos | 2017-01-16 | 3 | -0/+156 |
| | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | doc update | Nikos Mavrogiannopoulos | 2017-01-16 | 1 | -0/+4 |
| | |||||
* | asn1_get_length_ber: pass the correct length to ↵ | Nikos Mavrogiannopoulos | 2017-01-16 | 1 | -3/+3 |
| | | | | | | | | _asn1_get_indefinite_length_string This addresses reading 1-byte past the end of data. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | bumped version | Nikos Mavrogiannopoulos | 2017-01-16 | 1 | -1/+1 |
| | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | tests: added additional invalid PKCS#7 structs | Nikos Mavrogiannopoulos | 2017-01-16 | 3 | -1/+2 |
| | | | | | | These structures cause a read overflow in the heap. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | _asn1_ltostr: avoid undefined negation of int64_t | Nikos Mavrogiannopoulos | 2017-01-16 | 1 | -1/+1 |
| | | | | | | Use cast to (uint64_t) and negation instead. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | updated gnulib | Nikos Mavrogiannopoulos | 2017-01-16 | 136 | -1050/+1735 |
| | |||||
* | Bring in par valgrind and asan tests | Nikos Mavrogiannopoulos | 2017-01-16 | 2 | -1/+2 |
| | | | | | | | | | Ensure that exit code on failure is something different than "1" (to detect parsing errors from heap errors), and that address sanitizer will not detect leaks (there are few by design leaks in libtasn1). Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | tests: run decoding-invalid-pkcs7 on make check | Nikos Mavrogiannopoulos | 2017-01-16 | 1 | -1/+1 |
| | |||||
* | .gitlab-ci.yml: install bison on all platforms | Nikos Mavrogiannopoulos | 2017-01-16 | 1 | -1/+1 |
| | |||||
* | .gitlab-ci.yml: force mingw32 build in gitlab shared runners | Nikos Mavrogiannopoulos | 2017-01-13 | 1 | -0/+1 |
| | | | | That is, because this build requires a privileged container. | ||||
* | tests: added missing file | Nikos Mavrogiannopoulos | 2017-01-13 | 1 | -0/+43 |
| | |||||
* | _asn1_ltostr: ensure that input value will always be printed | Nikos Mavrogiannopoulos | 2017-01-13 | 1 | -7/+11 |
| | | | | | | | | | | That is, use an unsigned type to store the output of the negation (in case the input is negative). This addresses the issue found in PKCS#7 decoding: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=388 Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | tests: added invalid PKCS#7 struct checks | Nikos Mavrogiannopoulos | 2017-01-13 | 4 | -31/+40 |
| | | | | The added struct causes an integer overflow. | ||||
* | decoding-invalid-x509: output log on error | Nikos Mavrogiannopoulos | 2017-01-13 | 1 | -2/+5 |
| | |||||
* | MSVS 2013 and 2015 native builds | Vasiliy Olekhov | 2016-12-05 | 8 | -0/+359 |
| | |||||
* | tests: added copyright statements to files | Nikos Mavrogiannopoulos | 2016-10-24 | 2 | -0/+40 |
| | |||||
* | doc updatetmp-test-suite-spc | Nikos Mavrogiannopoulos | 2016-10-24 | 1 | -2/+4 |
| | |||||
* | Add spc_pe_image_data test | Andreas Schneider | 2016-10-24 | 4 | -3/+169 |
| | | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | doc update | Nikos Mavrogiannopoulos | 2016-10-11 | 1 | -1/+1 |
| | |||||
* | benchmark: made alarm handler static | Nikos Mavrogiannopoulos | 2016-10-04 | 1 | -1/+1 |
| | | | | This prevents a compiler warning. | ||||
* | .gitlab-ci.yml: added mingw32 build | Nikos Mavrogiannopoulos | 2016-09-27 | 1 | -0/+21 |
| | |||||
* | Makefile.am: only build examples if documentation is also built | Nikos Mavrogiannopoulos | 2016-09-27 | 1 | -2/+2 |
| | |||||
* | tests: use the 'rb' modifier in fopen | Nikos Mavrogiannopoulos | 2016-09-27 | 2 | -2/+2 |
| | | | | This allows the tests to be run under wine. | ||||
* | space/tab fixes | Nikos Mavrogiannopoulos | 2016-09-11 | 1 | -1/+1 |
| | |||||
* | space/tab fixes | Nikos Mavrogiannopoulos | 2016-09-11 | 2 | -11/+11 |
| | |||||
* | .gitlab-ci.yml: use shared gitlab.com runners for CI | Nikos Mavrogiannopoulos | 2016-09-01 | 1 | -5/+17 |
| | |||||
* | .gitlab-ci.yml: added build with clang | Nikos Mavrogiannopoulos | 2016-07-27 | 1 | -0/+6 |
| | |||||
* | ASN1.c: regenerated with bison 3.0.4 | Nikos Mavrogiannopoulos | 2016-07-27 | 1 | -133/+135 |
| | |||||
* | ASN1.y: updated for new yacc syntax (according to bison warnings) | Nikos Mavrogiannopoulos | 2016-07-27 | 1 | -1/+1 |
| | |||||
* | Fix some typoes found by lintian. | Andreas Metzler | 2016-07-27 | 2 | -3/+3 |
| | |||||
* | gnulib: added missing verify.h | Nikos Mavrogiannopoulos | 2016-07-26 | 1 | -0/+279 |
| | |||||
* | bumped version | Nikos Mavrogiannopoulos | 2016-07-26 | 1 | -2/+2 |
| | |||||
* | doc update | Nikos Mavrogiannopoulos | 2016-07-26 | 1 | -0/+4 |
| | |||||
* | tools: eliminated compiler warnings | Nikos Mavrogiannopoulos | 2016-07-26 | 3 | -3/+3 |
| | |||||
* | parser_aux: corrected potential null pointer dereferences | Nikos Mavrogiannopoulos | 2016-07-26 | 1 | -6/+6 |
| | |||||
* | ASN.y: corrected compiler warning | Nikos Mavrogiannopoulos | 2016-07-26 | 1 | -1/+1 |
| |