Ensure even select values in UNION query [RUN AS-IF-FOSS]
1 unresolved thread
This MR adds an extra check to the Gitlab::SQL::Union
class to verify the number of select values of the passed in relations. If uneven number of columns are detected, an error will be raised. This only happens in test environment.
The MR also adds documentation explaining and fixing the problem.
Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.
@gitlab-com/gl-security/appsec
Apply reviewer feedback