Commit Graph

2425 Commits

Author SHA1 Message Date
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
Lev Walkin 304a70e9ac remove warnings 2017-11-13 23:28:54 -08:00
Bi-Ruei, Chiu 288e95d5b1 Fix crash when processing S1AP
Ref :

https://github.com/vlm/asn1c/pull/237#issuecomment-342356046
2017-11-13 23:24:40 -08:00
Lev Walkin f9a94dfa1d update dependencies 2017-11-13 23:23:19 -08:00
Lev Walkin f09cf4888d update dependencies 2017-11-13 23:16:06 -08:00
Lev Walkin d3fd7a4bdf update dependencies 2017-11-13 23:13:11 -08:00
Lev Walkin e7bd48aa5e better cleanup 2017-11-13 23:12:49 -08:00
Lev Walkin 076bbbc7ab invert -gen-xxx to -no-gen-yyy 2017-11-13 22:29:46 -08:00
Lev Walkin 2a923864b9 invert -gen-PER as -no-gen-OER 2017-11-13 22:24:32 -08:00
Bi-Ruei, Chiu 0299037ed8 Fix memory leakeage 2017-11-13 22:23:29 -08:00
Bi-Ruei, Chiu 8ae074ce79 Fix 'make check' error under sample.source.RRC 2017-11-13 22:23:29 -08:00
Lev Walkin 7d5d930393 more precise OER and PER code bundling 2017-11-13 22:17:20 -08:00
Lev Walkin 30566d1310 add asn1c compile smoke test 2017-11-12 15:28:17 -08:00
Lev Walkin 227b944558 changelog order fix 2017-11-11 18:08:33 -08:00
Lev Walkin d1c28aa809 generate OER and PER by default. add -no-gen-example 2017-11-11 18:05:13 -08:00
Lev Walkin d5f6647fc5 remove superfluous -pdu 2017-11-11 17:08:26 -08:00