From 037af6890fe6fdb84a08d3c86083e847c90ec0ad Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Tue, 22 Oct 2013 08:17:26 -0400 Subject: [PATCH] Fix vulnerability in handling _session argument of utils/save-prefs (#1489382) --- program/js/list.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/program/js/list.js b/program/js/list.js index e2fd828..368ee5b 100644 --- a/program/js/list.js +++ b/program/js/list.js @@ -307,7 +307,7 @@ if (rcube_event.get_button(e) == 2) return true; - this.in_selection_before = e.istouch || this.in_selection(id) ? id : false; + this.in_selection_before = e && e.istouch || this.in_selection(id) ? id : false; // selects currently unselected row if (!this.in_selection_before) { -- Gitblit v1.9.1