[gnutls-dev] [PATCH] error handling large CA files

Ian Peters itp at ximian.com
Wed Mar 12 03:48:02 CET 2003


On Tue, 2003-03-11 at 16:41, Ian Peters wrote:
> The attached patch fixes these three functions to read passed file into
> a heap-allocated buffer, parse the memory, and then free the buffer. 
> You'll probably want to tweak things to fit into gnutls better
> stylistically.

Of course, -this- attached patch does the same, but doesn't leak file
descriptors.  :-)

Ian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gnutls-0.8.4-large-ca-file.patch
Type: text/x-patch
Size: 2860 bytes
Desc: not available
URL: </pipermail/attachments/20030312/2112aade/attachment.bin>


More information about the Gnutls-devel mailing list