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
Lev Walkin
3be4919d01
make -pdu=auto a default
2017-11-11 16:13:32 -08:00
Lev Walkin
5f4dbb751a
earlier detection of unknown -pdu=Type
2017-11-11 14:52:11 -08:00
Lev Walkin
9ce64c13c7
API reference
2017-11-07 06:22:14 -08:00
Lev Walkin
933b950a80
moved decl around to maintain comments continuity
2017-11-07 05:55:29 -08:00
Lev Walkin
cf573ec13c
constness
2017-11-07 04:20:52 -08:00
Lev Walkin
ec4b7af9ef
doc
2017-11-07 04:20:36 -08:00
Lev Walkin
d5627a1f11
more logical structure
2017-11-07 01:04:40 -08:00
Lev Walkin
f3334585a7
update doc
2017-11-07 00:02:24 -08:00
Lev Walkin
08661a6508
use ptrdiff_t
2017-11-06 02:08:47 -08:00
Lev Walkin
1fc5edb22d
asn_encode_to_new_buffer()
2017-11-06 01:58:49 -08:00
Lev Walkin
cd8f1e0377
uper_encode() with NULL callback to ignore output and return the number of bits
2017-11-06 00:13:32 -08:00
Lev Walkin
1a49ced90e
use hash for name lookup
2017-11-06 00:07:53 -08:00
Lev Walkin
a67d11061e
name clashes using generic hashing
2017-11-06 00:07:53 -08:00
Lev Walkin
adfcde29cd
generic hashing mechanism
2017-11-06 00:07:53 -08:00
Jon Ringle
3bcab4ebfa
Add test case for issue #178
2017-11-05 21:55:15 -08:00
Lev Walkin
8baaf6b0d2
fix randomized failures on fast enough systems
2017-11-05 21:39:58 -08:00
Lev Walkin
ce2068a507
fix builddir
2017-11-05 21:08:57 -08:00
Lev Walkin
c9b2f28b98
replace incompatible awk with C
2017-11-05 20:32:15 -08:00
Lev Walkin
3f52df00df
removed autotools intermediate files from source code
2017-10-31 19:35:50 -07:00
Lev Walkin
ee8482a55d
avoid complaints about _BSD_SOURCE on ubuntu
2017-10-31 18:26:15 -07:00
Lev Walkin
a53bdf16a0
removed autotools intermediate files from source code
2017-10-31 17:21:37 -07:00
Lev Walkin
f22184d31c
force recompile T object
2017-10-27 18:40:32 -07:00
Lev Walkin
5e73c5058b
add missing member
2017-10-26 00:38:43 -07:00
Lev Walkin
1351752f8d
fixed non-trivial SIZE constraints for SET OF and SEQUENCE OF, fuzz-tested
2017-10-26 00:38:43 -07:00
Vasil Velichkov
24354e1cd0
fix UPER decoding of SET OF with more then 16K elements
2017-10-25 22:22:54 -07:00
Vasil Velichkov
b623e8d701
Fix an undefined behaviour error in constr_SET_OF.c
...
constr_SET_OF.c:315:13: runtime error: null pointer passed as argument 1, which is declared to never be null
Also move some asserts into dedicated function because b->buf could be
NULL while a->length is greater then zero
2017-10-25 22:22:54 -07:00
Vasil Velichkov
abb7133c23
Fix UPER encoding of empty SEQUENCE OF
...
A length determinant was not added when the SEQUENCE OF was empty
according to the X.691 #20.6 and #11.9.4.1.
This fixes a failure in 16-SEQUENCE-bundle
Decoding 1 bytes of T yielded RC_WMORE after byte 0
Original random structure:
T ::= {
list: list ::= {
}
guard: 01
}
2017-10-25 22:22:54 -07:00
Vasil Velichkov
5fcbb2868d
Do not build 32bit skeletons lib and check-converter
...
when the 32bit build is dislabed.
On MacOS with Xcode 9.0 the make check fails because the ar
cannot build empty static libraries
Fixes #228
2017-10-25 22:22:54 -07:00
Lev Walkin
6fd84337a5
avoid failing on something that is considered compression bomb
2017-10-24 03:54:23 -07:00
Lev Walkin
3bbbd04155
remove warning
2017-10-24 03:34:24 -07:00
Bi-Ruei, Chiu
2387ff39ae
Modify test 156 for verifying pull request 224 and 227 simultaneously
2017-10-24 03:31:59 -07:00
Bi-Ruei, Chiu
5bdb55552f
Fix duplicate 'asn_VAL_23_ignore' generated from RANAP ASN.1
...
Information object set RANAP-ELEMENTARY-PROCEDURES is a union of
RANAP-ELEMENTARY-PROCEDURES-CLASS-1 and RANAP-ELEMENTARY-PROCEDURES-CLASS-2.
Each time _asn1f_assign_cell_value() parses an object, value of an
incremented counter is assigned to '_type_unique_index' field for
distinquishing different items.
However, these two information object sets have their own counters.
It has chance that generated variables have the same name and also the same
'_type_unique_index'. And they collide if they join up into one set.
S1AP's ASN.1 is lucky without this problem, while RANAP has.
By adding the number of items of the first set to '_type_unique_index' field
of items of the second set can solve this issue.
2017-10-24 03:31:59 -07:00
Lev Walkin
7156898e45
protect from SET OF NULL compression bomb
2017-10-24 03:29:31 -07:00
Lev Walkin
d8e6bbfa9a
fix memory realloc
2017-10-24 03:26:40 -07:00
Lev Walkin
52b88e1b54
uper and oer SET OF and SEQUENCE OF verified
2017-10-24 03:03:46 -07:00