C icon indicating copy to clipboard operation
C copied to clipboard

Add "Shorten Spaces" to "Source Code" -tkatemb

Open trevtemba opened this issue 4 years ago • 5 comments

Fixes #

Proposed Changes

trevtemba avatar Nov 20 '21 18:11 trevtemba

:warning: We detected 33 security issues in this pull request:

Insecure Use of Dangerous Function (32)
Docs Details
:bulb: Title: Potential OS command execution, Severity: High
https://github.com/aravindvnair99/C/blob/c036685a878ac0c47f8a47db03ea755654918e2e/Source Codes/OS/execlp.c#L43
:bulb: Title: Buffer overflow, Severity: Critical
https://github.com/aravindvnair99/C/blob/c036685a878ac0c47f8a47db03ea755654918e2e/Source Codes/pf and sf.c#L3
:bulb: Title: Buffer overflow, Severity: Critical
https://github.com/aravindvnair99/C/blob/c036685a878ac0c47f8a47db03ea755654918e2e/Source Codes/Count of different characters in a String.c#L5
:bulb: Title: Buffer overflow, Severity: Critical
https://github.com/aravindvnair99/C/blob/c036685a878ac0c47f8a47db03ea755654918e2e/Source Codes/Counting specific characters in a string.c#L7
:bulb: Title: Buffer overflow, Severity: Critical
https://github.com/aravindvnair99/C/blob/c036685a878ac0c47f8a47db03ea755654918e2e/Source Codes/Employee salary (Structures).c#L16
:bulb: Title: Buffer overflow, Severity: Critical
https://github.com/aravindvnair99/C/blob/c036685a878ac0c47f8a47db03ea755654918e2e/Source Codes/Palindrome without strrev.c#L6
:bulb: Title: Buffer overflow, Severity: Critical
https://github.com/aravindvnair99/C/blob/c036685a878ac0c47f8a47db03ea755654918e2e/Source Codes/Palindrome without strrev.c#L10
:bulb: Title: Buffer overflow, Severity: Critical
https://github.com/aravindvnair99/C/blob/c036685a878ac0c47f8a47db03ea755654918e2e/Source Codes/Pointer to a structure.c#L6
:bulb: Title: Buffer overflow, Severity: Critical
https://github.com/aravindvnair99/C/blob/c036685a878ac0c47f8a47db03ea755654918e2e/Source Codes/Pointer to a structure.c#L7
:bulb: Title: Buffer overflow, Severity: Critical
https://github.com/aravindvnair99/C/blob/c036685a878ac0c47f8a47db03ea755654918e2e/Source Codes/Search for char in string, find freq and pos.c#L5
:bulb: Title: Buffer overflow, Severity: Critical
https://github.com/aravindvnair99/C/blob/c036685a878ac0c47f8a47db03ea755654918e2e/Source Codes/Shopping bill.c#L5
:bulb: Title: Buffer overflow, Severity: Critical
https://github.com/aravindvnair99/C/blob/c036685a878ac0c47f8a47db03ea755654918e2e/Source Codes/String formatting.c#L7
:bulb: Title: Buffer overflow, Severity: Critical
https://github.com/aravindvnair99/C/blob/c036685a878ac0c47f8a47db03ea755654918e2e/Source Codes/String to ASCII.c#L9
:bulb: Title: Buffer overflow, Severity: Critical
https://github.com/aravindvnair99/C/blob/c036685a878ac0c47f8a47db03ea755654918e2e/Source Codes/Student structure.c#L12
:bulb: Title: Buffer overflow, Severity: Critical
https://github.com/aravindvnair99/C/blob/c036685a878ac0c47f8a47db03ea755654918e2e/Source Codes/Count of different characters in a String.c#L8
:bulb: Title: Buffer overflow, Severity: Critical
https://github.com/aravindvnair99/C/blob/c036685a878ac0c47f8a47db03ea755654918e2e/Source Codes/Counting specific characters in a string.c#L11
:bulb: Title: Buffer overflow, Severity: Critical
https://github.com/aravindvnair99/C/blob/c036685a878ac0c47f8a47db03ea755654918e2e/Source Codes/Employee salary (Structures).c#L33
:bulb: Title: Buffer overflow, Severity: Critical
https://github.com/aravindvnair99/C/blob/c036685a878ac0c47f8a47db03ea755654918e2e/Source Codes/Palindrome without strrev.c#L8
:bulb: Title: Buffer overflow, Severity: Critical
https://github.com/aravindvnair99/C/blob/c036685a878ac0c47f8a47db03ea755654918e2e/Source Codes/Palindrome without strrev.c#L9
:bulb: Title: Buffer overflow, Severity: Critical
https://github.com/aravindvnair99/C/blob/c036685a878ac0c47f8a47db03ea755654918e2e/Source Codes/Pointer to a structure.c#L16
:bulb: Title: Buffer overflow, Severity: Critical
https://github.com/aravindvnair99/C/blob/c036685a878ac0c47f8a47db03ea755654918e2e/Source Codes/Pointer to a structure.c#L18
:bulb: Title: Buffer overflow, Severity: Critical
https://github.com/aravindvnair99/C/blob/c036685a878ac0c47f8a47db03ea755654918e2e/Source Codes/Pointer to a structure.c#L20
:bulb: Title: Buffer overflow, Severity: Critical
https://github.com/aravindvnair99/C/blob/c036685a878ac0c47f8a47db03ea755654918e2e/Source Codes/Search for char in string, find freq and pos.c#L8
:bulb: Title: Buffer overflow, Severity: Critical
https://github.com/aravindvnair99/C/blob/c036685a878ac0c47f8a47db03ea755654918e2e/Source Codes/Shopping bill.c#L7
:bulb: Title: Buffer overflow, Severity: Critical
https://github.com/aravindvnair99/C/blob/c036685a878ac0c47f8a47db03ea755654918e2e/Source Codes/Shopping bill.c#L9
:bulb: Title: Buffer overflow, Severity: Critical
https://github.com/aravindvnair99/C/blob/c036685a878ac0c47f8a47db03ea755654918e2e/Source Codes/Shopping bill.c#L14
:bulb: Title: Buffer overflow, Severity: Critical
https://github.com/aravindvnair99/C/blob/c036685a878ac0c47f8a47db03ea755654918e2e/Source Codes/String formatting.c#L10
:bulb: Title: Buffer overflow, Severity: Critical
https://github.com/aravindvnair99/C/blob/c036685a878ac0c47f8a47db03ea755654918e2e/Source Codes/String to ASCII.c#L16
:bulb: Title: Buffer overflow, Severity: Critical
https://github.com/aravindvnair99/C/blob/c036685a878ac0c47f8a47db03ea755654918e2e/Source Codes/Student structure.c#L27
:bulb: Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/c036685a878ac0c47f8a47db03ea755654918e2e/Source Codes/palindrome_pyramid_pattern.c#L10
:bulb: Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/c036685a878ac0c47f8a47db03ea755654918e2e/Source Codes/pascal triangle.c#L6
:bulb: Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/c036685a878ac0c47f8a47db03ea755654918e2e/Source Codes/Multiple_Files_Example/mainMFWC.c#L14

More info on how to fix Insecure Use of Dangerous Function in C/C++.


Insecure Processing of Data (1)
Docs Details
:bulb: Title: Insecure use of format strings, Severity: Critical
https://github.com/aravindvnair99/C/blob/c036685a878ac0c47f8a47db03ea755654918e2e/Source Codes/pf and sf.c#L2

More info on how to fix Insecure Processing of Data in C/C++.


👉 Go to the dashboard for detailed results.

📥 Happy? Share your feedback with us.

guardrails[bot] avatar Nov 20 '21 18:11 guardrails[bot]

@aravindvnair99 Thank you for resolving! I'm new to GitHub, so I'm still familiarizing myself with the open-source workflow. Apologies for the conflicts.

trevtemba avatar Nov 21 '21 14:11 trevtemba

@aravindvnair99 Thank you for resolving! I'm new to GitHub, so I'm still familiarizing myself with the open-source workflow. Apologies for the conflicts.

@tkatemb No issues, here are a few resources you could use:

  • https://www.youtube.com/watch?v=RGOj5yH7evk
  • https://www.youtube.com/watch?v=Uszj_k0DGsg
  • https://www.youtube.com/watch?v=e2IbNHi4uCI
  • https://www.youtube.com/playlist?list=PLWKjhJtqVAbkFiqHnNaxpOPhh9tSWMXIF

aravindvnair99 avatar Nov 21 '21 20:11 aravindvnair99

Hello, I committed the changes, and am currently trying to push said changes, I am getting a rejection for the push request (as seen in the image below).
image

trevtemba avatar Nov 24 '21 21:11 trevtemba

Ok, everything should be fixed now!

trevtemba avatar Nov 24 '21 22:11 trevtemba