Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non-constant format string in sprintf call, lgtm warning #31

Open
avan989 opened this issue Dec 20, 2019 · 0 comments
Open

Non-constant format string in sprintf call, lgtm warning #31

avan989 opened this issue Dec 20, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@avan989
Copy link
Contributor

avan989 commented Dec 20, 2019

Is your feature request related to a problem? Please describe.
Recommended issues from lgtm:

elf2cfetbl.c

line 2101:
sprintf(Result, Map->String, Key);
--
  | The format string argument to sprintf should be constant to prevent security issues and other potential errors.

Requester Info
Anh Van, NASA Goddard

@skliper skliper changed the title Recommended lgtm issues sprintf non-constant format string lgtm issue Jan 26, 2021
@skliper skliper changed the title sprintf non-constant format string lgtm issue Non-constant format string in sprintf call, lgtm warning Jan 26, 2021
@astrogeco astrogeco added the bug Something isn't working label Jan 27, 2021
@skliper skliper added enhancement New feature or request and removed bug Something isn't working labels Jan 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants