File: 004CVE2007-4154.patch

package info (click to toggle)
wordpress 2.0.10-1etch6
  • links: PTS
  • area: main
  • in suites: etch
  • size: 3,040 kB
  • ctags: 7,377
  • sloc: php: 26,382; sh: 4,645; makefile: 23
file content (20 lines) | stat: -rw-r--r-- 757 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#! /bin/sh /usr/share/dpatch/dpatch-run
## 4691.patch.dpatch by  <andrea.de.iacovo@gmail.com>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Closes trac #4691 and CVEs 2007-4153(54)

@DPATCH@

diff -Nru wordpress/wp-admin/link-import.php wordpress-etch/wp-admin/link-import.php
--- wordpress-etch/wp-admin/link-import.php	2007-01-30 20:16:31.000000000 +0100
+++ wordpress-etch/wp-admin/link-import.php	2008-04-22 11:42:10.000000000 +0200
@@ -76,7 +76,7 @@
 <?php
 				$cat_id = abs( (int) $_POST['cat_id'] );
 				if ( $cat_id < 1 )
-					$cat_id  = 1;
+                    $cat_id  = 1;
 
                 $opml_url = $_POST['opml_url'];
                 if (isset($opml_url) && $opml_url != '' && $opml_url != 'http://') {