summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-apps/mantisbt/files/mantisbt-1.2.15-cve20134460.patch')
-rw-r--r--www-apps/mantisbt/files/mantisbt-1.2.15-cve20134460.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/www-apps/mantisbt/files/mantisbt-1.2.15-cve20134460.patch b/www-apps/mantisbt/files/mantisbt-1.2.15-cve20134460.patch
new file mode 100644
index 000000000000..94f7af27a521
--- /dev/null
+++ b/www-apps/mantisbt/files/mantisbt-1.2.15-cve20134460.patch
@@ -0,0 +1,22 @@
+diff --git a/account_sponsor_page.php b/account_sponsor_page.php
+index cccdf25..197564c 100644
+--- a/account_sponsor_page.php
++++ b/account_sponsor_page.php
+@@ -138,7 +138,7 @@
+
+ echo '<tr bgcolor="' . get_status_color( $t_bug->status, auth_get_current_user_id(), $t_bug->project_id ) . '">';
+ echo '<td><a href="' . string_get_bug_view_url( $row['bug'] ) . '">' . bug_format_id( $row['bug'] ) . '</a></td>';
+- echo '<td>' . project_get_field( $t_bug->project_id, 'name' ) . '&#160;</td>';
++ echo '<td>' . string_display_line( project_get_field( $t_bug->project_id, 'name' ) ) . '&#160;</td>';
+ echo '<td class="right">' . $t_released_label . '&#160;</td>';
+ echo '<td><span class="issue-status" title="' . $t_resolution . '">' . $t_status . '</span></td>';
+ echo '<td>';
+@@ -248,7 +248,7 @@
+
+ echo '<tr bgcolor="' . get_status_color( $t_bug->status, auth_get_current_user_id(), $t_bug->project_id ) . '">';
+ echo '<td><a href="' . string_get_bug_view_url( $row['bug'] ) . '">' . bug_format_id( $row['bug'] ) . '</a></td>';
+- echo '<td>' . project_get_field( $t_bug->project_id, 'name' ) . '&#160;</td>';
++ echo '<td>' . string_display_line( project_get_field( $t_bug->project_id, 'name' ) ) . '&#160;</td>';
+ echo '<td class="right">' . $t_released_label . '&#160;</td>';
+ echo '<td><a title="' . $t_resolution . '"><u>' . $t_status . '</u>&#160;</a></td>';
+