Commit Graph

2409 Commits

Author SHA1 Message Date
Lev Walkin 7193cf069f OER encoding of pure NULLs verified 2017-10-17 14:10:35 -07:00
Lev Walkin 22cef6cb93 BMPString and UniversalString fuzz testing 2017-10-16 20:33:07 -07:00
Lev Walkin e4a1625ad2 compare literal values if times are not well-formed for semantic comparison 2017-10-16 15:09:04 -07:00
Lev Walkin 2d824a6976 fix type 2017-10-14 02:58:46 -07:00
Lev Walkin ace43a3fcc object identifier and relative oid bundles 2017-10-14 01:49:55 -07:00
Lev Walkin dd01a5e54c OER support for UTCTime and GeneralizedTime, also fuzz-testing 2017-10-14 01:45:26 -07:00
Lev Walkin 2ed11835b7 comparison and free fixes 2017-10-14 01:41:57 -07:00
Lev Walkin 349b340767 UTF8String randomized fuzz-test 2017-10-14 00:23:09 -07:00
Lev Walkin 588bf0f7dc OBJECT IDENTIFIER and RELATIVE-OID API simplified 2017-10-13 23:51:16 -07:00
Lev Walkin 290e2c7f46 REAL constraint ranges fixed after Corrigendum 1 2017-10-13 23:42:06 -07:00
Lev Walkin b5b524b1d0 OBJECT IDENTIFIER and RELATIVE-OID OER encoding and randomized testing 2017-10-13 03:14:03 -07:00
Lev Walkin 1ff89d3fa4 Merge pull request #221 from ringlej/issue/220
fix issue #220: implicit declaration of function ‘isatty’
2017-10-13 02:26:18 -07:00
Jon Ringle 0770393d22 fix issue 220: implicit declaration of function ‘isatty’
Fixes warning:
converter-example.c: In function ‘main’:
converter-example.c:400:8: warning: implicit declaration of function ‘isatty’ [-Wimplicit-function-declaration]
     if(isatty(1)) {
        ^
2017-10-12 10:10:03 -04:00
Lev Walkin f11ebf8a5b corrected to the best known range (fixed after X.696 Corrigendum 1) 2017-10-11 00:37:27 -07:00
Vasil Velichkov 83170fc089 Enable ASAN in travis 2017-10-10 09:11:39 -07:00
Vasil Velichkov aead8c5f68 Fix a memory leak in SEQUENCE_free
Fixes check-src/check-135.-gen-OER.c and check-src/check64-136.-gen-OER.c
2017-10-10 09:11:39 -07:00
Vasil Velichkov 84dd0fef6f Fix a memory leak in xer_equivalent
Free the internal buffers
2017-10-10 09:11:39 -07:00
Vasil Velichkov edd82a9686 Do not call memcpy with NULL src pointer
This fix the following ubsan error
check-62.c:36:2: runtime error: null pointer passed as argument 2, which is declared to never be null
2017-10-10 09:11:39 -07:00
Vasil Velichkov fc25d5e708 Fix the memory leaks in check-42.c test
The asn_set_add calls realloc in some of the cases and the struct cannot
be freed correctly when the sub-structs are allocated on the stack
2017-10-10 09:11:39 -07:00
Vasil Velichkov cef21e07ac Fix several memory leaks in the tests 2017-10-10 09:11:39 -07:00
Vasil Velichkov 5532a1d6cc Expose the ASAN_ENV_FLAGS in check-assembly.sh 2017-10-10 09:08:10 -07:00
Lev Walkin d0d63928af overrideable fuzzing time 2017-10-10 01:27:37 -07:00
Lev Walkin 490064f12a ignore compile products 2017-10-10 00:53:33 -07:00
Lev Walkin ac6db177de better debugging 2017-10-10 00:53:33 -07:00
Lev Walkin 294aebc7f2 regenerated 2017-10-10 00:30:21 -07:00
Lev Walkin 8f5017645b typo fix 2017-10-10 00:28:57 -07:00
Lev Walkin 758aeaddfb remove excessive useless integer conversion width 2017-10-10 00:12:02 -07:00
Lev Walkin e24bad1a56 fix under-replacement 2017-10-09 23:58:15 -07:00
Lev Walkin 42a94cbc30 unistd does not always include getopt.h (by @velichkov) 2017-10-09 20:30:08 -07:00
Lev Walkin c346f90373 easier fix for sanitization (by @velichkov) 2017-10-09 20:30:08 -07:00
Lev Walkin ebeb401513 more portable get_param 2017-10-09 20:30:08 -07:00
Lev Walkin 121ad66245 better entropy estimation 2017-10-09 01:03:54 -07:00
Lev Walkin 40bb23cbc3 proper bundles specified 2017-10-09 07:17:48 +00:00
Lev Walkin c143b7a26e avoid linking 32-bit with 64-bit libs 2017-10-09 07:08:06 +00:00
Lev Walkin b98c77131b distclean might not clean properly if not fully compiled 2017-10-09 06:34:47 +00:00
Lev Walkin ed93977dfa internal implementation file 2017-10-08 23:04:04 -07:00
Lev Walkin d20f174624 regenerated 2017-10-08 23:02:34 -07:00
Lev Walkin 40b8a7ae99 simpler makefile generation 2017-10-08 22:56:13 -07:00
Lev Walkin 45bae08c71 Merge pull request #214 from brchiu/fix_vlm_issue_211
Fix issue 211
2017-10-08 19:55:03 -07:00
Lev Walkin a4f8e94bc1 get rid of alloca() in compiler 2017-10-08 19:28:56 -07:00
Lev Walkin e2bbbf8f1e remove the use of alloca in skeletons 2017-10-08 18:52:37 -07:00
Lev Walkin c36803785e PATH_MAX is hard to get these days on the Sun... 2017-10-08 17:37:37 -07:00
Lev Walkin 226d107945 use certified make 2017-10-08 17:37:11 -07:00
Lev Walkin 2225674d46 cosmetics 2017-10-08 16:33:57 -07:00
Lev Walkin 1f05facc8c ignore garbage in the tests directory 2017-10-08 16:33:21 -07:00
Lev Walkin 09be69c010 compatibility with building off-sources 2017-10-08 16:28:11 -07:00
Lev Walkin 8e71151267 add file which is not guaranteed to be included 2017-10-08 16:18:05 -07:00
Lev Walkin 68079d3861 detect double->float overflows 2017-10-08 15:41:20 -07:00
Lev Walkin ab25f195ce avoid removing directory with potentially modified/linked useful sources 2017-10-08 12:50:43 -07:00
Lev Walkin 7c470c7cb4 do up to eight different tests: m32/m64 and native/wide, and randomizer/fuzzer, in a matrix 2017-10-08 04:01:45 -07:00