[PATCH] server_name: Return the actual required buffer size if the buffer is too small
Nikos Mavrogiannopoulos
nmav at gnutls.org
Wed Oct 31 18:36:07 CET 2012
On 10/31/2012 02:44 PM, Martin Storsjo wrote:
> Since we require space for the null termination, include this in
> the info returned if the caller provided a too small buffer.
> Otherwise, if the caller allocated a buffer of exactly the suggested
> size, it would still be too small.
Thanks, applied!
More information about the Gnutls-devel
mailing list