diff options
| author | Michael Foster <savetheinternet@tinyboard.org> | 2013-08-13 00:07:23 +1000 |
|---|---|---|
| committer | Michael Foster <savetheinternet@tinyboard.org> | 2013-08-13 00:07:23 +1000 |
| commit | 60b3cfc539392d5b760244e21b69136895e938cb (patch) | |
| tree | a18e2714a68a8859a1e57cce5bfbe53cf338526f | |
| parent | 6fdbe76f7b7b69ca6bfbff65af8096734e46233d (diff) | |
Upload via URL: Make sure we're not vulnerable to this buffer overflow exploit. http://www.exploit-db.com/exploits/24487/
| -rw-r--r-- | post.php | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -295,6 +295,7 @@ if (isset($_POST['delete'])) { curl_setopt($curl, CURLOPT_USERAGENT, 'Tinyboard'); curl_setopt($curl, CURLOPT_BINARYTRANSFER, true); curl_setopt($curl, CURLOPT_FILE, $fp); + curl_setopt($curl, CURLOPT_PROTOCOLS, CURLPROTO_HTTP | CURLPROTO_HTTPS); if (curl_exec($curl) === false) error($config['error']['nomove']); |
