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
d3df38d8
Commit
d3df38d8
authored
6 years ago
by
Vasil Velichkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aper: Call the aper_* functions in SEQUENCE_decode_aper
Previously some uper_* function were called
parent
35fbfa93
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
skeletons/constr_SEQUENCE.c
skeletons/constr_SEQUENCE.c
+4
-4
No files found.
skeletons/constr_SEQUENCE.c
View file @
d3df38d8
...
...
@@ -1623,10 +1623,10 @@ SEQUENCE_decode_aper(const asn_codec_ctx_t *opt_codec_ctx,
uint8_t
*
epres
;
/* Presence of extension members */
asn_per_data_t
epmd
;
bmlength
=
u
per_get_nslength
(
pd
);
bmlength
=
a
per_get_nslength
(
pd
);
if
(
bmlength
<
0
)
ASN__DECODE_STARVED
;
ASN_DEBUG
(
"Extensions %
ld
present in %s"
,
bmlength
,
td
->
name
);
ASN_DEBUG
(
"Extensions %
"
ASN_PRI_SSIZE
"
present in %s"
,
bmlength
,
td
->
name
);
epres
=
(
uint8_t
*
)
MALLOC
((
bmlength
+
15
)
>>
3
);
if
(
!
epres
)
ASN__DECODE_STARVED
;
...
...
@@ -1668,7 +1668,7 @@ SEQUENCE_decode_aper(const asn_codec_ctx_t *opt_codec_ctx,
}
ASN_DEBUG
(
"Decoding member %s in %s %p"
,
elm
->
name
,
td
->
name
,
*
memb_ptr2
);
rv
=
u
per_open_type_get
(
opt_codec_ctx
,
elm
->
type
,
rv
=
a
per_open_type_get
(
opt_codec_ctx
,
elm
->
type
,
elm
->
encoding_constraints
.
per_constraints
,
memb_ptr2
,
pd
);
if
(
rv
.
code
!=
RC_OK
)
{
FREEMEM
(
epres
);
...
...
@@ -1686,7 +1686,7 @@ SEQUENCE_decode_aper(const asn_codec_ctx_t *opt_codec_ctx,
case
0
:
continue
;
default:
if
(
u
per_open_type_skip
(
opt_codec_ctx
,
pd
))
{
if
(
a
per_open_type_skip
(
opt_codec_ctx
,
pd
))
{
FREEMEM
(
epres
);
ASN__DECODE_STARVED
;
}
...
...
This diff is collapsed.
Click to expand it.
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