[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Fix a potential buffer overflow in `lib/coding.c'.
From: |
Simon Josefsson |
Subject: |
Re: [PATCH] Fix a potential buffer overflow in `lib/coding.c'. |
Date: |
Fri, 26 Aug 2011 16:17:36 +0200 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/23.2 (gnu/linux) |
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.
/Simon