Lev Walkin
836686167d
fix after UPER round-trip fuzz
2017-10-21 00:24:31 -07:00
Lev Walkin
5de8274266
fix UPER BIT STRING trailer encoding
2017-10-20 23:12:09 -07:00
Lev Walkin
6bc5696f52
fix consrtaint propagation for random_fill
2017-10-20 04:19:37 -07:00
Lev Walkin
d14802fa0f
fix OER SEQUENCE decode memory leak
2017-10-20 03:51:21 -07:00
Lev Walkin
9d328eec0a
use oer guara
2017-10-20 03:51:21 -07:00
Lev Walkin
42f6c88018
fix OER NULL and SEQUENCE extensions round-trip
2017-10-20 03:22:51 -07:00
Lev Walkin
48e82d1f1f
removed gcc-7 warnings
2017-10-19 03:07:27 -07:00
Lev Walkin
bc09dd4845
generate constraints differently to avoid warnings
2017-10-19 02:16:35 -07:00
Vasil Velichkov
c8bc573f06
Fix another sign-compare error in oer_support.c
...
oer_support.c:66:24: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
2017-10-18 23:32:47 -07:00
Vasil Velichkov
3875d507d9
Switch uint8_t to size_t as len_len's type
2017-10-18 23:32:47 -07:00
Vasil Velichkov
e56f4b24d4
Fix one sign-compare error in OCTET_STRING.c
...
OCTET_STRING.c:1896:46: error: signed and unsigned type in conditional expression [-Werror=sign-compare]
2017-10-18 23:32:47 -07:00
Vasil Velichkov
e60e6f225a
Fix sign-compare error in oer_support
...
oer_support.c:38:22: error: comparison between signed and unsigned integer expressions [-Werror=s
2017-10-18 23:32:47 -07:00
Vasil Velichkov
c3e0019b56
Fix sign-compare error in constr_SEQUENCE.c
...
constr_SEQUENCE.c:1438:24: error: signed and unsigned type in conditional expression [-Werror=sign-compare]
2017-10-18 23:32:47 -07:00
Vasil Velichkov
39ab82f36d
Fix two strict-aliasing errors
...
NativeReal.c:366:13: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
NativeReal.c:370:13: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
2017-10-18 23:32:47 -07:00
Vasil Velichkov
6aac1c3c16
Fix sign-compare errors
...
BIT_STRING.c:494:45: error: signed and unsigned type in conditional expression [-Werror=sign-compare]
BIT_STRING.c:580:46: error: signed and unsigned type in conditional expression [-Werror=sign-compare]
2017-10-18 23:32:47 -07:00
Lev Walkin
1c0ce5e1d1
unused arg
2017-10-18 16:42:58 -07:00
Lev Walkin
19e12b5597
signedness fix
2017-10-18 16:30:05 -07:00
Lev Walkin
0b56b22ca5
fix default value cmp/set order
2017-10-18 00:40:32 -07:00
Lev Walkin
af51eafe31
fix: encode effective integer
2017-10-18 00:26:37 -07:00
Lev Walkin
20696a4ff3
constness fixes, round-trip and fuzz-testing for CHOICE
2017-10-17 21:27:55 -07:00
Lev Walkin
312795a24c
OER CHOICE extensions support + fuzzing
2017-10-17 15:48:34 -07:00
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
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
b5b524b1d0
OBJECT IDENTIFIER and RELATIVE-OID OER encoding and randomized testing
2017-10-13 03:14:03 -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
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
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
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
121ad66245
better entropy estimation
2017-10-09 01:03:54 -07:00
Lev Walkin
ed93977dfa
internal implementation file
2017-10-08 23:04:04 -07:00
Lev Walkin
e2bbbf8f1e
remove the use of alloca in skeletons
2017-10-08 18:52:37 -07:00
Lev Walkin
68079d3861
detect double->float overflows
2017-10-08 15:41:20 -07:00
Lev Walkin
63a89da5ec
fix tail zeroes elimination
2017-10-08 02:48:32 -07:00
Lev Walkin
6cbed3dd61
reconfigured tests to support -m32 32-bit mode testing with sanitizers
2017-10-07 16:42:41 -07:00
Lev Walkin
cc6a76b2d6
Undefined Behavior sanitizer fixes
2017-10-07 16:23:16 -07:00
Lev Walkin
fa9a326d54
Sun compat
2017-10-07 16:22:47 -07:00
Lev Walkin
fe37431038
sun compatibility
2017-10-07 00:25:05 -07:00
Lev Walkin
9d6ba1c805
Solaris fix
2017-10-06 16:38:07 -07:00
Lev Walkin
b7c5899615
Ensure XER decoding happens in the long domain (instead of imax_t)
2017-10-06 16:36:32 -07:00
Lev Walkin
85d7a1b3d8
32-bit mode compile
2017-10-06 16:35:21 -07:00