Skip to content
Snippets Groups Projects
Commit bbd6eb34 authored by Lev Walkin's avatar Lev Walkin
Browse files

fail if not junked

parent 8b8381f4
No related branches found
No related tags found
No related merge requests found
...@@ -730,9 +730,11 @@ data_decode_from_file(asn_TYPE_descriptor_t *pduType, FILE *file, const char *na ...@@ -730,9 +730,11 @@ data_decode_from_file(asn_TYPE_descriptor_t *pduType, FILE *file, const char *na
* Nothing's wrong with being unable to decode junk. * Nothing's wrong with being unable to decode junk.
* Simulate EOF. * Simulate EOF.
*/ */
junk_failures++; if(opt_jprob != 0.0) {
errno = 0; junk_failures++;
return 0; errno = 0;
return 0;
}
#endif #endif
DEBUG("ofp %d, no=%ld, oo=%ld, dbl=%ld", DEBUG("ofp %d, no=%ld, oo=%ld, dbl=%ld",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment