Skip to content
Permalink
Browse files Browse the repository at this point in the history
Fixed SQL injection vulnerability in RSS module
  • Loading branch information
trustmaster committed Jul 17, 2013
1 parent c33eb83 commit 45eec04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/rss/rss.php
Expand Up @@ -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);
Expand Down

1 comment on commit 45eec04

@jasperjorna
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That was quick! :)

Please sign in to comment.