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

Update 2D Array.c #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

GloryTime6
Copy link

Fixes #

Proposed Changes

-add the pointer to an array
-add dynamic memory allocation

@guardrails
Copy link

guardrails bot commented Dec 28, 2021

⚠️ We detected 36 security issues in this pull request:

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

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


Insecure Processing of Data (1)
Docs Details
💡 Title: Insecure use of format strings, Severity: Critical
https://github.com/aravindvnair99/C/blob/5a8dd9cd276920ed0fbd82cd5c888b1c79b37f3d/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.

GitHub
GitHub is where people build software. More than 73 million people use GitHub to discover, fork, and contribute to over 200 million projects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants