gnutls_hex_encode inconsistency

Nikos Mavrogiannopoulos nmav at gnutls.org
Tue Jan 27 22:00:18 CET 2009


John Brooks wrote:
> Just a quick little bug here - gnutls_hex_encode, according to the
> documentation (and convention), will copy the output size to size_t
> *result_size, but does not actually do so. This leaves no way (other than
> manually doing the math) to get the exact output size of this function.
> Threw me off a little when I had a couple hundred bytes of garbage
> afterwards :P

Corrected in git repository at:
http://git.savannah.gnu.org/gitweb/?p=gnutls.git;a=commitdiff;h=6930e0ea6c242cab6e525b797387a7cba3628cf6

Thank you for the report.

regards,
Nikos





More information about the Gnutls-devel mailing list