Commit bbd6eb34 authored by Lev Walkin's avatar Lev Walkin

fail if not junked

parent 8b8381f4
...@@ -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.
*/ */
if(opt_jprob != 0.0) {
junk_failures++; junk_failures++;
errno = 0; errno = 0;
return 0; return 0;
}
#endif #endif
DEBUG("ofp %d, no=%ld, oo=%ld, dbl=%ld", DEBUG("ofp %d, no=%ld, oo=%ld, dbl=%ld",
......
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