[SECURITY] Bug 209742: Under some circumstances, a user can obtain component…

[SECURITY] Bug 209742: Under some circumstances, a user can obtain component descriptions for a product to which he does not normally have access. Patch by Ryan Cleary <tryanc@interdimensions.com> r= joel, bbaetz a= justdave
parent 808d96e1
......@@ -46,7 +46,7 @@ if (!defined $::FORM{'product'}) {
# Reference to a subset of %::proddesc, which the user is allowed to see
my %products;
if (AnyDefaultGroups()) {
if (AnyEntryGroups()) {
# OK, now only add products the user can see
confirm_login() unless $::userid;
foreach my $p (@::legal_product) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment