[darcs-devel] issue 420 fix
quick at sparq.org
quick at sparq.org
Wed Jul 11 16:42:58 PDT 2007
This bug was caused simply by trying to write too much data into
a statically-sized character array and not ensuring that the
character array was zero-terminated. As the poster noted,
this wouldn't have caused internal problems, but may have
presented more information to the remote than intended.
This fix dynamically allocates the needed buffer the first
time used, falling back to simply "darcs" as the User Agent,
re-using the same agent ID for each curl request. The allocated
buffer is simply held until program exit (along with the rest
of the curl objects).
Wed Jul 11 15:50:49 MST 2007 Kevin Quick <quick at sparq.org>
* Fix issue420: User Agent size limit for curl gets is removed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 53868 bytes
Desc: A darcs patch for your repository!
Url : http://lists.osuosl.org/pipermail/darcs-devel/attachments/20070711/da60c378/attachment-0001.bin
More information about the darcs-devel
mailing list