Commit abde4f49 authored by Lev Walkin's avatar Lev Walkin
Browse files

*** empty log message ***

parent 4b95ab90
......@@ -124,6 +124,8 @@ BIT_STRING_encode_xer(asn_TYPE_descriptor_t *td, void *sptr,
if(!xcan) _i_ASN_TEXT_INDENT(1, ilevel - 1);
er.structure_ptr = 0;
er.failed_type = 0;
return er;
cb_failed:
_ASN_ENCODE_FAILED;
......
......@@ -430,6 +430,8 @@ INTEGER_encode_xer(asn_TYPE_descriptor_t *td, void *sptr,
er.encoded = INTEGER__dump(td, st, cb, app_key, 1);
if(er.encoded < 0) _ASN_ENCODE_FAILED;
er.structure_ptr = 0;
er.failed_type = 0;
return er;
}
......
......@@ -639,6 +639,8 @@ OCTET_STRING_encode_xer(asn_TYPE_descriptor_t *td, void *sptr,
}
}
er.structure_ptr = 0;
er.failed_type = 0;
return er;
cb_failed:
_ASN_ENCODE_FAILED;
......@@ -779,6 +781,8 @@ OCTET_STRING_encode_xer_utf8(asn_TYPE_descriptor_t *td, void *sptr,
_ASN_ENCODE_FAILED;
er.encoded = encoded_len;
er.structure_ptr = 0;
er.failed_type = 0;
return er;
}
......
......@@ -257,6 +257,8 @@ REAL_encode_xer(asn_TYPE_descriptor_t *td, void *sptr,
er.encoded = REAL__dump(d, flags & XER_F_CANONICAL, cb, app_key);
if(er.encoded < 0) _ASN_ENCODE_FAILED;
er.structure_ptr = 0;
er.failed_type = 0;
return er;
}
......
......@@ -267,6 +267,7 @@ OCTET_STRING_encode_der(asn_TYPE_descriptor_t *td, void *ptr, int tag_mode, ber_
(void)cb;
(void)app_key;
memset(&erval, 0, sizeof(erval));
return erval;
}
......@@ -281,5 +282,6 @@ OCTET_STRING_encode_xer_utf8(asn_TYPE_descriptor_t *td, void *ptr, int ilevel, e
(void)cb;
(void)app_key;
memset(&erval, 0, sizeof(erval));
return erval;
}
......@@ -74,6 +74,7 @@ OCTET_STRING_encode_der(asn_TYPE_descriptor_t *td, void *ptr, int tag_mode, ber_
(void)cb;
(void)app_key;
memset(&erval, 0, sizeof(erval));
return erval;
}
......@@ -88,5 +89,6 @@ OCTET_STRING_encode_xer_utf8(asn_TYPE_descriptor_t *td, void *ptr, int ilevel, e
(void)cb;
(void)app_key;
memset(&erval, 0, sizeof(erval));
return erval;
}
......@@ -32,6 +32,8 @@ xer_encode(asn_TYPE_descriptor_t *td, void *sptr,
er.encoded = 4 + xcan + (2 * mlen) + tmper.encoded;
er.structure_ptr = 0;
er.failed_type = 0;
return er;
cb_failed:
_ASN_ENCODE_FAILED;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment