summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* doc updatetmp-test-suite-spcNikos Mavrogiannopoulos2016-10-241-2/+4
|
* doc updateNikos Mavrogiannopoulos2016-10-111-1/+1
|
* space/tab fixesNikos Mavrogiannopoulos2016-09-111-1/+1
|
* space/tab fixesNikos Mavrogiannopoulos2016-09-112-11/+11
|
* 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
|
* parser_aux: corrected potential null pointer dereferencesNikos Mavrogiannopoulos2016-07-261-6/+6
|
* ASN.y: corrected compiler warningNikos Mavrogiannopoulos2016-07-261-1/+1
|
* updated gnulibNikos Mavrogiannopoulos2016-07-2633-199/+452
|
* released 4.9libtasn1_4_9Nikos Mavrogiannopoulos2016-07-251-1/+1
|
* asn1_get_object_id_der: doc updateNikos Mavrogiannopoulos2016-07-081-1/+2
|
* encode and decode object identifiers with elements larger than 2^32 in ↵Nikos Mavrogiannopoulos2016-07-085-6/+12
| | | | 32-bit systems
* _asn1_objectid_der: encode object identifiers with elements larger than 2^32Nikos Mavrogiannopoulos2016-07-071-1/+1
|
* decoding: removed unused constantsNikos Mavrogiannopoulos2016-04-201-5/+0
|
* decoding: added null pointer checkNikos Mavrogiannopoulos2016-04-201-0/+8
|
* _asn1_append_sequence_set: fail if _asn1_copy_structure3 failsNikos Mavrogiannopoulos2016-04-201-0/+3
|
* coding: prevented an unsigned to signed conversionNikos Mavrogiannopoulos2016-04-201-1/+1
|
* _asn1_expand_object_id: addressed crash when no value is present is nodeNikos Mavrogiannopoulos2016-04-081-0/+3
| | | | | | | With a specially crafted ASN.1 description _asn1_expand_object_id, passes a null pointer as p4->value to the function _asn1_str_cat, which expects a pointer to a string. This patch addresses the issue. Reported by Pascal Cuoq.
* decoding: removed redundant functionsNikos Mavrogiannopoulos2016-04-081-223/+150
| | | | | Simplified the STRING BER decoding by using asn1_decode_simple_ber(). This removes complex duplicate code.
* asn1_decode_simple_ber: simplified and cleaned upNikos Mavrogiannopoulos2016-04-082-45/+73
|
* asn1_get_octet_der: doc updateNikos Mavrogiannopoulos2016-04-071-4/+6
|
* _asn1_extract_der_octet: properly account the bytes read through indefinite ↵Nikos Mavrogiannopoulos2016-04-061-4/+8
| | | | | | | encodings This prevents infinite recursions in the function loop. Reported by Pascal Cuoq.
* libtasn1.h: updated for 4.8Nikos Mavrogiannopoulos2016-04-041-1/+1
|
* _asn1_extract_der_octet: catch invalid input cases earlyNikos Mavrogiannopoulos2016-04-041-1/+8
| | | | | | That is, check the calculated lengths for validity prior to entering a loop. This avoids an infinite recursion. Reported by Pascal Cuoq.
* Simplify _asn1_append_value() and avoid memcpy's with zero lengthNikos Mavrogiannopoulos2016-04-041-9/+19
| | | | Based on patch of Pascal Cuoq <pascal.cuoq@trust-in-soft.com>
* use a safer variant of reallocNikos Mavrogiannopoulos2016-04-043-4/+20
| | | | | This variant does not create memory leaks if allocation fails. Report and initial patch by Pascal Cuoq.
* decoding: improved tail cache in _asn1_append_sequence_setNikos Mavrogiannopoulos2016-04-043-16/+27
| | | | | We keep the head node in addition to the tail information to allow easier deduction of the validity of the cache.
* fixed incorrect parameter to _asn1_append_sequence_set()Nikos Mavrogiannopoulos2016-04-031-1/+1
| | | | | This was uncovered by the previous revert, and seemed working due to the optimization semantics.
* Revert "optimized _asn1_find_up()."Nikos Mavrogiannopoulos2016-04-037-51/+38
| | | | | | | This reverts commit 4010bb04588fca86a9f6d683b637c05b4cec24e0. This optimization did not offer much benefit and there may be corner cases in the internal structure handling that may not be possibly to handle with this optimization.
* %x expects an unsigned int, but unsigned char is promoted to intPascal Cuoq2016-04-031-5/+5
|
* coding: Fixes to prevent undefined behavior (found with libubsan)Nikos Mavrogiannopoulos2016-02-291-3/+5
|
* der_coding: always null terminate errorDescriptionNikos Mavrogiannopoulos2016-01-081-0/+3
|
* asn1_array2tree: always null terminate errorDescriptionNikos Mavrogiannopoulos2016-01-081-0/+2
|
* libtasn1.h updated versionlibtasn1_4.7Nikos Mavrogiannopoulos2015-09-141-1/+1
|
* corrected regression in multi-byte tag handlingNikos Mavrogiannopoulos2015-09-141-12/+21
| | | | That is don't treat the explicit tag as part of the inner tag.
* updated for 4.6libtasn1_4_6Nikos Mavrogiannopoulos2015-09-051-1/+1
|
* don't export asn1_get_time_derNikos Mavrogiannopoulos2015-06-203-30/+15
|
* Allow decoding octet strings with multi-byte tagsNikos Mavrogiannopoulos2015-06-081-3/+12
| | | | Report and initial patch by Tomas Petrilak.
* simplified asn1_get_time_derNikos Mavrogiannopoulos2015-06-082-18/+31
|
* export asn1_get_time_der()Nikos Mavrogiannopoulos2015-06-023-6/+23
|
* export asn1_get_object_id_derNikos Mavrogiannopoulos2015-06-022-4/+21
|
* enforce type checks in asn1_decode_simple_der and berNikos Mavrogiannopoulos2015-06-022-7/+9
|
* _asn1_extract_der_octet: prevent past of boundary accessNikos Mavrogiannopoulos2015-04-201-1/+2
| | | | Reported by Hanno Böck.
* bumped versionslibtasn1_4_4Nikos Mavrogiannopoulos2015-03-291-1/+1
|
* increased size of LTOSTR_MAX_SIZE to account for sign and null byteNikos Mavrogiannopoulos2015-03-262-4/+5
| | | | This address an overflow found by Hanno Böck in DER decoding.
* removed debug flagNikos Mavrogiannopoulos2015-03-061-1/+0
|
* asn1_decode_simple_ber() will decode unsupported types as DERNikos Mavrogiannopoulos2015-03-062-32/+38
|
* doc updateNikos Mavrogiannopoulos2015-03-041-1/+1
|