~ubuntu-branches/ubuntu/lucid/curl/lucid-security

« back to all changes in this revision

Viewing changes to docs/libcurl/curl_formadd.html

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2005-12-12 15:04:52 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20051212150452-2ymlra67b2p7kjyy
Tags: 7.15.1-1ubuntu1
Resynchronise with Debian to get URL parser overflow fix from 7.15.1
(CVE-2005-4077).

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
<p class="level0"><a name="CURLFORMFILENAME"></a><span class="nroffip">CURLFORM_FILENAME</span> 
82
82
<p class="level1">followed by a pointer to a string to a name, will make libcurl use the given name in the file upload part, instead of the actual file name given to <a class="emphasis" href="#CURLFORMFILE">CURLFORM_FILE</a>. 
83
83
<p class="level1">
84
 
<p class="level0"><a name="BCURLFORMBUFFER"></a><span class="nroffip">BCURLFORM_BUFFER</span> 
 
84
<p class="level0"><a name="CURLFORMBUFFER"></a><span class="nroffip">CURLFORM_BUFFER</span> 
85
85
<p class="level1">followed by a string, tells libcurl that a buffer is to be used to upload data instead of using a file. The given string is used as the value of the file name field in the content header. 
86
86
<p class="level1">
87
87
<p class="level0"><a name="CURLFORMBUFFERPTR"></a><span class="nroffip">CURLFORM_BUFFERPTR</span> 
88
 
<p class="level1">followed by a pointer to a data area, tells libcurl the address of the buffer containing data to upload (as indicated with <span Class="emphasis">CURLFORM_BUFFER</span>). The buffer containing this data must not be freed until after <a class="emphasis" href="./curl_easy_cleanup.html">curl_easy_cleanup(3)</a> is called. You must also use <a class="emphasis" href="#CURLFORMBUFFERLENGTH">CURLFORM_BUFFERLENGTH</a> to set the length of the given buffer area. 
 
88
<p class="level1">followed by a pointer to a data area, tells libcurl the address of the buffer containing data to upload (as indicated with <a class="emphasis" href="#CURLFORMBUFFER">CURLFORM_BUFFER</a>). The buffer containing this data must not be freed until after <a class="emphasis" href="./curl_easy_cleanup.html">curl_easy_cleanup(3)</a> is called. You must also use <a class="emphasis" href="#CURLFORMBUFFERLENGTH">CURLFORM_BUFFERLENGTH</a> to set the length of the given buffer area. 
89
89
<p class="level1">
90
90
<p class="level0"><a name="CURLFORMBUFFERLENGTH"></a><span class="nroffip">CURLFORM_BUFFERLENGTH</span> 
91
91
<p class="level1">followed by a long with the size of the <a class="emphasis" href="#CURLFORMBUFFERPTR">CURLFORM_BUFFERPTR</a> data area, tells libcurl the length of the buffer to upload.