Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
asn1c
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
asn1c
Commits
66d542b6
Commit
66d542b6
authored
Jul 04, 2005
by
Lev Walkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more heuristics testing
parent
f1a51236
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
13 deletions
+10
-13
ChangeLog
ChangeLog
+1
-1
tests/42-real-life-OK.asn1.-PR
tests/42-real-life-OK.asn1.-PR
+4
-10
tests/85-comments-OK.asn1
tests/85-comments-OK.asn1
+5
-2
No files found.
ChangeLog
View file @
66d542b6
...
...
@@ -4,7 +4,7 @@
* GeneralizedTime API now supports fractions of seconds.
Thanks to Bent Nicolaisen <BN@JAI.com> for support.
* ASN.1 parser has been tweaked to allow parsing something like
"SEQUENCE---
comment
---", which is ambiguous for many reasons.
"SEQUENCE---
-comment-
---", which is ambiguous for many reasons.
* XER decoder better handles not-yet-defined future extensions.
0.9.15: 2005-July-02
...
...
tests/42-real-life-OK.asn1.-PR
View file @
66d542b6
...
...
@@ -51,11 +51,8 @@ memb_varsets_1_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
return -1;
}
{ /* Determine the number of elements */
const A_SEQUENCE_OF(void) *list;
(const void *)list = sptr;
size = list->count;
}
/* Determine the number of elements */
size = _A_CSEQUENCE_FROM_VOID(sptr)->count;
if((size >= 1)) {
/* Perform validation of the inner elements */
...
...
@@ -388,11 +385,8 @@ memb_vset_1_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
return -1;
}
{ /* Determine the number of elements */
const A_SET_OF(void) *list;
(const void *)list = sptr;
size = list->count;
}
/* Determine the number of elements */
size = _A_CSET_FROM_VOID(sptr)->count;
if((size >= 1)) {
/* Perform validation of the inner elements */
...
...
tests/85-comments-OK.asn1
View file @
66d542b6
...
...
@@ -11,8 +11,11 @@ ModuleTestComments
DEFINITIONS ::=
BEGIN
T1 ::= SEQUENCE-- This is a comment-- { ... }
T2 ::= SEQUENCE--- This is a comment --- { ... }
T1 ::= SEQUENCE--comment-- { ... }
T2 ::= SEQUENCE-- comment-- { ... }
T3 ::= SEQUENCE--- comment --- { ... }
T4 ::= SEQUENCE----comment---- { ... }
T5 ::= SEQUENCE---- comment ---- { ... }
----- Another ambiguous comment ---
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment