Simon Josefsson <[email protected]> writes: > Btw, I wasn't able to trigger this by modifying tests/Test_encoding.c by > calling into: > > data_size = SIZE_MAX; > result = asn1_der_coding (asn1_element, "", data, &data_size, NULL); > > I also tried 'SIZE_MAX - c' where c is 1 and 2.
I forgot to mention that the error code in these cases where MEM_ERROR rather than a crash. /Simon
