Question: Question 1 2 A software for a networking device is written using C programming language. There is a requirement in the software to get input

Question 12
A software for a networking device is written using C programming language. There is a requirement in the software to get input from the user. The programmers had used the gets() method for getting the input from the user and this lead to a very serious vulnerability known as buffer overflow.
Note: gets() is already listed as a vulnerable/bad coding practice in the CERT Coding Guidelines and has recommended developers to use new method fgets() instead of gets().
Which of the following Secure SDLC practices could have helped in preventing and/or detecting such issues? (Choose TWO most appropriate options)
Deprecate unsafe functions
Source code scanning using Static Application Security Testing (SAST) tools
User risk assessment
Establish a disposal/transition plan
Question 1 2 A software for a networking device

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!