Skip to content

Updates#24

Open
abirbhattacharya82 wants to merge 3 commits intoaravindvnair99:masterfrom
abirbhattacharya82:master
Open

Updates#24
abirbhattacharya82 wants to merge 3 commits intoaravindvnair99:masterfrom
abirbhattacharya82:master

Conversation

@abirbhattacharya82
Copy link

Fixes:

Added Input Validations to prior program

Summary:

A program added that will find the maximum and minimum elements of an array by the Tournament Method. It uses the Divide and Conquer Algorithm.

@guardrails
Copy link

guardrails bot commented Jun 22, 2021

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

Insecure Use of Dangerous Function (114)
Docs Details
💡 Title: Potential OS command execution, Severity: High
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/OS/execlp.c#L43
💡 Title: Buffer overflow, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/pf and sf.c#L3
💡 Title: Buffer overflow, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Maximum and Minimum using Divide and Conquer.c#L72
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/2D Array.c#L9
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/2D Array.c#L11
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/2D Array.c#L18
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Area of equilateral triangle.c#L8
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Area of shapes.c#L9
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Area of shapes.c#L11
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Area of shapes.c#L13
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Check for diagonal matrix.c#L8
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Check for diagonal matrix.c#L10
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Check for diagonal matrix.c#L18
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Check for lower triangular matrix.c#L20
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Check for upper triangular matrix.c#L9
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Check for upper triangular matrix.c#L11
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Check for upper triangular matrix.c#L18
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Count of different characters in a String.c#L8
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Counting specific characters in a string.c#L11
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Cube of array index value.c#L9
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Distance between two points.c#L17
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Distance between two points.c#L19
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Distance between two points.c#L21
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Distance between two points.c#L23
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Electricity bill.c#L16
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Employee salary (Structures).c#L28
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Employee salary (Structures).c#L33
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Employee salary (Structures).c#L35
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Employee salary (Structures).c#L37
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Entered character is an alphabet or not.c#L9
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Even or odd, for even check divisble by 4.c#L7
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Even or odd.c#L7
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Factorial (Recursions).c#L15
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Fibonacci (Recursions).c#L15
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/GCD aka HCF (Recursions).c#L15
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Hash symbol pattern.c#L7
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Largest Number in array.c#L7
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Largest Number in array.c#L12
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Location of array element.c#L6
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Location of array element.c#L11
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Location of array element.c#L14
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Matrix add,sub,mul,transpose.c#L7
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Matrix add,sub,mul,transpose.c#L9
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Matrix add,sub,mul,transpose.c#L15
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Matrix add,sub,mul,transpose.c#L19
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Matrix add,sub,mul,transpose.c#L21
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Matrix add,sub,mul,transpose.c#L27
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Max and min in array using pointers.c#L7
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Max and min in array using pointers.c#L12
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Monthly pay salary.c#L9
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Monthly pay salary.c#L11
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Multi function calculator (Switch).c#L8
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Multi function calculator (Switch).c#L10
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/OS/fcfs.c#L7
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/OS/fcfs.c#L13
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/OS/prime.c#L7
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/OS/priority.c#L7
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/OS/priority.c#L14
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/OS/priority.c#L16
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/OS/sjf.c#L8
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/OS/sjf.c#L14
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Palindrome check.c#L6
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Palindrome without strrev.c#L8
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Pointer to a structure.c#L16
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Pointer to a structure.c#L18
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Pointer to a structure.c#L20
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Positive or negative.c#L7
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Print ASCII Value.c#L7
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Print odd even separately using pointers.c#L9
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Print odd even separately using pointers.c#L15
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Reverse number (Recursion).c#L23
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Roman value to decimal value.c#L7
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Search for char in string, find freq and pos.c#L8
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Search for char in string, find freq and pos.c#L10
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Shopping bill.c#L7
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Shopping bill.c#L9
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Shopping bill.c#L11
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Shopping bill.c#L14
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Shopping bill.c#L16
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Simple interest.c#L7
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Simple interest.c#L9
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Simple interest.c#L11
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Smallest and largest of 3 numbers.c#L7
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Sorting array.c#L6
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Sorting array.c#L10
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/String formatting.c#L10
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/String to ASCII.c#L13
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/String to ASCII.c#L16
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Student structure.c#L21
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Student structure.c#L27
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Student structure.c#L29
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Student structure.c#L31
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Student structure.c#L33
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Student structure.c#L35
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Student structure.c#L39
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Student structure.c#L44
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Sum of array and print in reverse order.c#L7
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Sum of array and print in reverse order.c#L12
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Sum of diagonal elements in matrix.c#L8
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Sum of diagonal elements in matrix.c#L10
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Sum of diagonal elements in matrix.c#L18
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Sum of digits using recursion.c#L12
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Sum of series.c#L32
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Sum of two numbers.c#L7
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Swapping with pointers.c#L12
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Toll booth.c#L9
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Toll booth.c#L28
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Toll booth.c#L47
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Toll booth.c#L66
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Toll booth.c#L90
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/palindrome_pyramid_pattern.c#L10
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/pascal triangle.c#L6
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Maximum and Minimum using Divide and Conquer.c#L58
💡 Title: Use of scanf, Severity: Critical
https://github.com/aravindvnair99/C/blob/b850c317c2079ac58a34cb1876900960ac83e079/Source Codes/Maximum and Minimum using Divide and Conquer.c#L72

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/b850c317c2079ac58a34cb1876900960ac83e079/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 65 million people use GitHub to discover, fork, and contribute to over 200 million projects.

Copy link
Owner

@aravindvnair99 aravindvnair99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@abirbhattacharya82 Nice work. Take a look at this as well:

The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20).

Specify a limit to %s, or use a different input function.

Refer: https://www.codefactor.io/repository/github/aravindvnair99/c/pull/24

@aravindvnair99 aravindvnair99 added the enhancement New feature or request label Jun 22, 2021
@abirbhattacharya82
Copy link
Author

Check Now. I have restricted it.

Copy link
Owner

@aravindvnair99 aravindvnair99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @abirbhattacharya82!

Sorry for the delay in getting back to you. I must have dismissed the notification accidentally. Could you look at the Codacy analysis results for your PR and resolve them? I will merge your PR once you are done with it.

@aravindvnair99
Copy link
Owner

Hey @abirbhattacharya82! Any updates?

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

Labels

enhancement New feature or request size/M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants