Browse Source

IPS-9 Asn.1 will need even more stack with asan

IPS-9
Dirk Zimmermann 8 months ago
parent
commit
c7ddfeede3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/message_codec.c

+ 1
- 1
src/message_codec.c View File

@ -32,7 +32,7 @@ DYNAMIC_API PEP_STATUS decode_ASN1Message_message(
memset(&s_codec_ctx, 0, sizeof(s_codec_ctx));
#ifdef DEBUG
// ASAN blows up the stack quite a lot. Increase the maximum that is allowed.
s_codec_ctx.max_stack_size = ASN__DEFAULT_STACK_MAX * 10;
s_codec_ctx.max_stack_size = ASN__DEFAULT_STACK_MAX * 100;
#else
s_codec_ctx.max_stack_size = ASN__DEFAULT_STACK_MAX;
#endif


Loading…
Cancel
Save