Permalink
Browse files

Fixed SQL injection vulnerability in RSS module

  • Loading branch information...
1 parent c33eb83 commit 45eec046391afabb676b62b9201da0cd530360b4 @trustmaster trustmaster committed Jul 17, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/rss/rss.php
View
@@ -199,7 +199,7 @@
{
require_once cot_incfile('page', 'module');
- if (!empty($c))
+ if (!empty($c) && isset($structure['page'][$c]))
{
$mtch = $structure['page'][$c]['path'].".";
$mtchlen = mb_strlen($mtch);

1 comment on commit 45eec04

@Twiebie
Member

That was quick! :)

Please sign in to comment.