Skip to content

[BUG] Fix LGTM/CodeQL alerts #960

Open

Description

@Panquesito7

Description

There are 10+ CodeQL alerts on the whole repository. This should be fixed immediately.

Expected behavior

CodeQL/LGTM alerts should be fixed.

Actual behavior

We have 10+ CodeQL/LGTM alerts.

Possible fix

No response

Steps to reproduce

Not applicable here, IMO.

Context

This makes our code less elegant and professional. We should try to use the best code possible.

Additional information

Anyone who wants to work on this, feel free to do so. Just make sure you comment here before working on the issue. 🙂

Activity

  1. Kim8178184977 commented on Sep 19, 2022

    @Kim8178184977

    is there any one working on it

  2. Panquesito7 commented on Sep 19, 2022

    @Panquesito7
    MemberAuthor

    is there any one working on it

    Nope, not currently. Do you wanna work on this? 🙂

  3. Kim8178184977 commented on Sep 20, 2022

    @Kim8178184977

    sure I will try My best sir 😊

  4. Panquesito7 commented on Sep 20, 2022

    @Panquesito7
    MemberAuthor

    Cool, thank you! Let us know if you need any help.

  5. Kim8178184977 commented on Sep 21, 2022

    @Kim8178184977

    sir, i can't find the repository can you give me the name of it

  6. Panquesito7 commented on Sep 21, 2022

    @Panquesito7
    MemberAuthor

    Here you can see all the alerts/warnings: https://lgtm.com/projects/g/TheAlgorithms/C/context:cpp

  7. Meghanagowd commented on Apr 11, 2025

    @Meghanagowd

    "I’d like to work on fixing LGTM alerts in [file.c]. Please assign me!"

  8. wjc2821296948 commented on Oct 12, 2026

    @wjc2821296948

    I am working on two concrete memory-safety issues related to this umbrella issue: the undersized allocation in leetcode/src/5.c (malloc(sizeof(s))) and the input buffer allocation/bounds handling in misc/lexicographic_permutations.c. I will keep the fixes focused and include regression/self-tests where practical.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugdont-closeThis issue/pull request shouldn't be closed

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions