Commit Graph

2440 Commits

Author SHA1 Message Date
Johannes Lode 9925dbbda8 Improve test coverage by using stderr output in test evaluation of parser and AST testing. 2021-04-17 15:08:07 -07:00
Johannes Lode 35ad7e6daa Remove compiler warning about misleading indention. 2021-04-17 15:08:07 -07:00
Tim Gates 4195e8f961 docs: fix simple typo, occured -> occurred
There is a small typo in skeletons/NativeInteger.c, skeletons/NativeReal.c, skeletons/REAL.h.

Should read `occurred` rather than `occured`.
2021-04-17 15:02:10 -07:00
Lev Walkin 00fa516f3c Added contributor 2020-07-06 23:50:32 -07:00
Damir Franusic 6db79fd18b Fix compiler redefinition warnings
* check if __EXTENSIONS__ if alreay
  defined
2020-07-06 23:49:51 -07:00
fei4xu 878dc3b383 Update asn1c-usage.tex
The encode function call will crash if it's not initialized. Update the document to make it more clear.
2020-07-06 23:45:12 -07:00
Lev Walkin 46b394dd3e Follow-up to #379 2020-07-06 23:43:55 -07:00
Rob Stradling ca8145766c fix issue #379 2020-07-06 23:42:54 -07:00
Lev Walkin c7abb8e9bb Decouple NULL and BOOLEAN 2020-07-06 23:26:33 -07:00
Shad Ansari fdb68ce278 Fix usage cmd in README of examples/sample.source.LDAP3 2019-09-27 21:53:26 -07:00
Jonathan D. Storm b361194599 Fix OCTET_STRING/BIT_STRING skeleton dependency 2019-08-24 12:11:05 -07:00
Lev Walkin 6495ca558e Fix XER decoder of INTEGER, Issue #344.
In some cases an INTEGER overflow during parsing is not detected
    and incorrect value is returned to the decoder instead of an error.
    Reported by Nika Pona <npona@digamma.ai>.
    (Severity: low; Seuciry impact: medium).
2019-08-10 20:09:25 -07:00
Lev Walkin 88ed3b5cf0 added OpenBSD 2019-02-10 01:15:52 -08:00
Lev Walkin ad7462c561 add stdarg 2019-02-10 01:13:48 -08:00
Lev Walkin 0d536ce2f1 Added PR#260 author 2019-01-27 18:42:54 -08:00
Lev Walkin 117e72bc51 Added Russ for PR#275 2019-01-27 18:42:21 -08:00
Bi-Ruei, Chiu 2eba107955 Fix warning : function declaration isn’t a prototype 2019-01-27 18:39:49 -08:00
Russ Kubik d8fee36d2f Missing modification to buffer size for 9 digits 2019-01-27 18:37:28 -08:00
Russ Kubik 3ce07b9e69 restore test 2019-01-27 18:37:28 -08:00
Russ Kubik 94d87940c8 Increase GeneralizedTime fractional second precision to 9 digits 2019-01-27 18:37:28 -08:00
Lev Walkin 47cb79f007 fix the rest of type conversions for printing 2019-01-27 13:24:45 -08:00
Lev Walkin 2e2cb79035 use long long to match off_t width 2019-01-25 01:08:38 -08:00
Lev Walkin ee50d8750f add stdint.h from C99 2019-01-25 01:08:20 -08:00
Lev Walkin 0906e58b81 [unber] fix output regression 2019-01-22 22:04:07 -08:00
Lev Walkin f8b6e73a05 added Dave for PR#283 2019-01-21 23:54:08 -08:00
Dave Cridland cffe1b112a Remove static qualifier from var in SET_OF__encode_sorted
The function `SET_OF__encode_sorted` stored the working element buffer
in a static variable. If called recursively (that is, when performing
encoding of a SET containing another SET) the outermost element buffer
is therefore clobbered by the innermost call.

This causes a SEGV on continuation of the outermost call.

Bug found during testing of [https://github.com/surevine/spiffing Spiffing],
fix verified with the same test suite.
2019-01-21 23:51:28 -08:00
Lev Walkin 6ccf7437af [unber] fix buffer overrun in the BER introspection and debugging tool (unber) 2019-01-21 23:46:19 -08:00
Lev Walkin ccfaf2ab89 weeded the library out of unber program 2019-01-21 18:47:09 -08:00
Lev Walkin 8e1d7591ab better test diagnostics 2019-01-21 17:00:36 -08:00
Lev Walkin b47d1adac3 moved unber and enber into asn1-tools 2019-01-21 17:00:36 -08:00
Lev Walkin 4cc779fd9b -m32 compile without asan 2017-11-21 00:44:18 -08:00
Lev Walkin 57cf20953e fix library dependency management 2017-11-21 07:18:17 +00:00
Lev Walkin 4bc278d043 libs fix 2017-11-20 23:10:30 -08:00
Lev Walkin 3eb2703268 format integer value as INTEGER_t 2017-11-20 19:41:23 -08:00
Lev Walkin bbe79251e7 formatting 2017-11-20 19:41:23 -08:00
Lev Walkin 840fb8e37b debug origin lines 2017-11-20 19:41:23 -08:00
Lev Walkin 4215c51ca3 add hidden -debug-type-naming option 2017-11-19 23:45:07 -08:00
Lev Walkin da672c4130 better error reporting when destination directory is not available 2017-11-18 11:57:39 -08:00
Lev Walkin 4645db0707 slash-terminate differently 2017-11-18 11:32:07 -08:00
Lev Walkin 34df4e5799 update doc and changelog 2017-11-17 21:07:24 -08:00
Jon Ringle 3aa33c032e Add -gen-autotools option generates example configure.ac and Makefile.am 2017-11-17 20:54:02 -08:00
Jon Ringle 1029a6ec9b Generate Makefile.am.asn1convert
This file can be included and transformed via automake
2017-11-17 20:54:02 -08:00
Jon Ringle 3016fd59fe Rename Makefile.am.example => converter-example.mk
The generated Makefile.am.example is not really in the automake style.
Renaming it to converter-example.mk to reflect that it is a plain makefile
snippet and that it is for creating the converter-example
2017-11-17 20:54:02 -08:00
Jon Ringle f71745aa7a autotools: Make Makefile.am.libasncodec more autotools friendly 2017-11-17 20:54:02 -08:00
Jon Ringle 6431b1c969 Add '-D destdir' option for generated files 2017-11-17 20:54:02 -08:00
Jon Ringle 7871abf7ef Rename ASN_MODULE_{SOURCES,HEADERS} => ASN_MODULE_{SRCS,HDRS} 2017-11-17 20:54:02 -08:00
Lev Walkin 07f8c3eaf5 add asn_encode* and other encoders 2017-11-15 00:21:51 -08:00
Lev Walkin 686f38bf94 constness fix 2017-11-14 22:05:45 -08:00
Lev Walkin 37b579919d updated doc 2017-11-14 21:13:21 -08:00
Lev Walkin d0ee2b1436 rename a bit for consistency 2017-11-14 00:07:05 -08:00