aboutsummaryrefslogtreecommitdiffstats
path: root/skeletons/constr_SET_OF.c
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2005-12-07 05:46:03 +0000
committerLev Walkin <vlm@lionet.info>2005-12-07 05:46:03 +0000
commit1d9e8dd64e13be94e4253a65d56c258de9a34c8f (patch)
tree1ab58b0267d71e7793a03379262c95b2dd9de975 /skeletons/constr_SET_OF.c
parent6b7fb39b615a75525c7c15584b3bd4ed98638de5 (diff)
added stack control to PER
Diffstat (limited to 'skeletons/constr_SET_OF.c')
-rw-r--r--skeletons/constr_SET_OF.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/skeletons/constr_SET_OF.c b/skeletons/constr_SET_OF.c
index 103817b4..e93c70c8 100644
--- a/skeletons/constr_SET_OF.c
+++ b/skeletons/constr_SET_OF.c
@@ -864,6 +864,9 @@ SET_OF_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
int repeat = 0;
ssize_t nelems;
+ if(_ASN_STACK_OVERFLOW_CHECK(opt_codec_ctx))
+ _ASN_DECODE_FAILED;
+
/*
* Create the target structure if it is not present already.
*/