[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnutls-dev
Subject:    Re: [PATCH] server_name: Return the actual required buffer size if the buffer is too small
From:       Nikos Mavrogiannopoulos <nmav () gnutls ! org>
Date:       2012-10-31 17:36:07
Message-ID: 50916187.5040803 () gnutls ! org
[Download RAW message or body]

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!


_______________________________________________
Gnutls-devel mailing list
Gnutls-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/gnutls-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic