summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* doc updatetmp-added-flag-for-incorrect-decodingNikos Mavrogiannopoulos2017-05-051-0/+5
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* tests: check decoding with ASN1_DECODE_FLAG_ALLOW_INCORRECT_TIME flagNikos Mavrogiannopoulos2017-05-053-0/+15
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* asn1Decoding: allow decoding with ASN1_DECODE_FLAG_ALLOW_INCORRECT_TIME flagNikos Mavrogiannopoulos2017-05-051-10/+15
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* decoding: added flag ASN1_DECODE_FLAG_ALLOW_INCORRECT_TIMENikos Mavrogiannopoulos2017-05-052-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 updateNikos Mavrogiannopoulos2017-05-011-0/+4
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* Introduced error code ASN1_TIME_ENCODING_ERRORNikos Mavrogiannopoulos2017-05-013-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 warningNikos Mavrogiannopoulos2017-01-191-1/+1
|
* DER decoding: check the return value of _asn1_append_sequence_setNikos Mavrogiannopoulos2017-01-192-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 integerNikos Mavrogiannopoulos2017-01-171-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 Mavrogiannopoulos2017-01-161-1/+1
|
* Makefile: added abi-dump targetNikos Mavrogiannopoulos2017-01-161-0/+9
|
* Updated ABI dump with a more precise dump of the 3.0 libraryNikos Mavrogiannopoulos2017-01-161-1084/+975
|
* released 4.10Nikos Mavrogiannopoulos2017-01-161-3/+7
|
* added missing gnulib filesNikos Mavrogiannopoulos2017-01-163-0/+156
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* doc updateNikos Mavrogiannopoulos2017-01-161-0/+4
|
* asn1_get_length_ber: pass the correct length to ↵Nikos Mavrogiannopoulos2017-01-161-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 versionNikos Mavrogiannopoulos2017-01-161-1/+1
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* tests: added additional invalid PKCS#7 structsNikos Mavrogiannopoulos2017-01-163-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_tNikos Mavrogiannopoulos2017-01-161-1/+1
| | | | | | Use cast to (uint64_t) and negation instead. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* updated gnulibNikos Mavrogiannopoulos2017-01-16136-1050/+1735
|
* Bring in par valgrind and asan testsNikos Mavrogiannopoulos2017-01-162-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 checkNikos Mavrogiannopoulos2017-01-161-1/+1
|
* .gitlab-ci.yml: install bison on all platformsNikos Mavrogiannopoulos2017-01-161-1/+1
|
* .gitlab-ci.yml: force mingw32 build in gitlab shared runnersNikos Mavrogiannopoulos2017-01-131-0/+1
| | | | That is, because this build requires a privileged container.
* tests: added missing fileNikos Mavrogiannopoulos2017-01-131-0/+43
|
* _asn1_ltostr: ensure that input value will always be printedNikos Mavrogiannopoulos2017-01-131-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 checksNikos Mavrogiannopoulos2017-01-134-31/+40
| | | | The added struct causes an integer overflow.
* decoding-invalid-x509: output log on errorNikos Mavrogiannopoulos2017-01-131-2/+5
|
* MSVS 2013 and 2015 native buildsVasiliy Olekhov2016-12-058-0/+359
|
* tests: added copyright statements to filesNikos Mavrogiannopoulos2016-10-242-0/+40
|
* doc updatetmp-test-suite-spcNikos Mavrogiannopoulos2016-10-241-2/+4
|
* Add spc_pe_image_data testAndreas Schneider2016-10-244-3/+169
| | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
* doc updateNikos Mavrogiannopoulos2016-10-111-1/+1
|
* benchmark: made alarm handler staticNikos Mavrogiannopoulos2016-10-041-1/+1
| | | | This prevents a compiler warning.
* .gitlab-ci.yml: added mingw32 buildNikos Mavrogiannopoulos2016-09-271-0/+21
|
* Makefile.am: only build examples if documentation is also builtNikos Mavrogiannopoulos2016-09-271-2/+2
|
* tests: use the 'rb' modifier in fopenNikos Mavrogiannopoulos2016-09-272-2/+2
| | | | This allows the tests to be run under wine.
* space/tab fixesNikos Mavrogiannopoulos2016-09-111-1/+1
|
* space/tab fixesNikos Mavrogiannopoulos2016-09-112-11/+11
|
* .gitlab-ci.yml: use shared gitlab.com runners for CINikos Mavrogiannopoulos2016-09-011-5/+17
|
* .gitlab-ci.yml: added build with clangNikos Mavrogiannopoulos2016-07-271-0/+6
|
* ASN1.c: regenerated with bison 3.0.4Nikos Mavrogiannopoulos2016-07-271-133/+135
|
* ASN1.y: updated for new yacc syntax (according to bison warnings)Nikos Mavrogiannopoulos2016-07-271-1/+1
|
* Fix some typoes found by lintian.Andreas Metzler2016-07-272-3/+3
|
* gnulib: added missing verify.hNikos Mavrogiannopoulos2016-07-261-0/+279
|
* bumped versionNikos Mavrogiannopoulos2016-07-261-2/+2
|
* doc updateNikos Mavrogiannopoulos2016-07-261-0/+4
|
* tools: eliminated compiler warningsNikos Mavrogiannopoulos2016-07-263-3/+3
|
* parser_aux: corrected potential null pointer dereferencesNikos Mavrogiannopoulos2016-07-261-6/+6
|
* ASN.y: corrected compiler warningNikos Mavrogiannopoulos2016-07-261-1/+1
|