Skip to content

Resolve CodeQL query alert 57 #6479

@roslynwythe

Description

@roslynwythe

Prerequisite

  1. Be a member of Hack for LA. (There are no fees to join.) If you have not joined yet, please follow the steps on our Getting Started page.
  2. Before you claim or start working on an issue, please make sure you have read our How to Contribute to Hack for LA Guide.

Overview

We need to analyze the query "Use of returnless function" which appears in the CodeQL alert 57 then either recommend dismissal of the alert or update code to resolve the alert.

Action Items

  • DO NOT DISMISS ANY ALERTS. Dismissal of alerts should be done by dev leads only after review of the recommendation
  • Browse to the links in the following two Action Item and read the contents. Click "See More" to view Recommendations, Examples and References.
  • https://github.com/hackforla/website/security/code-scanning/57
  • In a comment in this issue, add your analysis and recommendations. For each alert, the recommendation can be one of the following: dismiss as test, dismiss as false positive, dismiss as won't fix, or update code.
  • If the recommendation is to update code:
    • create an issue branch and proceed with the code update
    • Use docker to test locally, ensuring that there are no changes to any affected webpage(s)
    • proceed with pull request in the usual manner
  • If the recommendation is to dismiss, describe your reason for dismissal in the comment, then move the issue to Questions/In Review and apply the label ready for dev lead.

For merge team/dev lead

Resources/Instructions

Metadata

Metadata

Assignees

Type

No type

Projects

Status

QA

Relationships

None yet

Development

No branches or pull requests

Issue actions